InternalRemotingServices.SetServerIdentity(MethodCall, Object) Metoda

Definicja

Ważne

Ten interfejs API nie jest zgodny ze specyfikacją CLS.

Ustawia wewnętrzne informacje identyfikacyjne dla obiektu serwera zdalnego dla każdego wywołania metody od klienta do serwera.

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)

Parametry

m
MethodCall

Obiekt MethodCall reprezentujący wywołanie metody dla obiektu zdalnego.

srvID
Object

Wewnętrzne informacje identyfikujące obiekt serwera zdalnego.

Atrybuty

Uwagi

Nie trzeba wywoływać static metod InternalRemotingServices klasy .

Dotyczy