InternalRemotingServices.SetServerIdentity(MethodCall, Object) Méthode

Définition

Important

Cette API n’est pas conforme CLS.

Définit les informations d’identification internes pour un objet serveur distant pour chaque appel de méthode du client au serveur.

public:
 static void SetServerIdentity(System::Runtime::Remoting::Messaging::MethodCall ^ m, System::Object ^ srvID);
[System.CLSCompliant(false)]
public static void SetServerIdentity(System.Runtime.Remoting.Messaging.MethodCall m, object srvID);
[System.CLSCompliant(false)]
[System.Security.SecurityCritical]
public static void SetServerIdentity(System.Runtime.Remoting.Messaging.MethodCall m, object srvID);
[<System.CLSCompliant(false)>]
static member SetServerIdentity : System.Runtime.Remoting.Messaging.MethodCall * obj -> unit
[<System.CLSCompliant(false)>]
[<System.Security.SecurityCritical>]
static member SetServerIdentity : System.Runtime.Remoting.Messaging.MethodCall * obj -> unit
Public Shared Sub SetServerIdentity (m As MethodCall, srvID As Object)

Paramètres

m
MethodCall

Qui MethodCall représente un appel de méthode sur un objet distant.

srvID
Object

Informations d’identification internes pour un objet serveur distant.

Attributs

Remarques

Vous n’avez pas besoin d’appeler les static méthodes de la InternalRemotingServices classe.

S’applique à