InternalRemotingServices.SetServerIdentity(MethodCall, Object) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
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.