InternalRemotingServices.SetServerIdentity(MethodCall, Object) Methode

Definition

Wichtig

Diese API ist nicht CLS-kompatibel.

Legt interne Identifizierungsinformationen für ein Remoteserverobjekt für jeden Methodenaufruf von Client zu Server fest.

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)

Parameter

m
MethodCall

Ein MethodCall Objekt, das einen Methodenaufruf für ein Remoteobjekt darstellt.

srvID
Object

Interne Identifizierungsinformationen für ein Remoteserverobjekt.

Attribute

Hinweise

Sie müssen die static Methoden der InternalRemotingServices Klasse nicht aufrufen.

Gilt für: