Modifica

Condividi tramite


InternalRemotingServices.SetServerIdentity(MethodCall, Object) Method

Definition

Important

This API is not CLS-compliant.

Sets internal identifying information for a remoted server object for each method call from client to server.

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)

Parameters

m
MethodCall

A MethodCall that represents a method call on a remote object.

srvID
Object

Internal identifying information for a remoted server object.

Attributes

Remarks

You do not need to call the static methods of the InternalRemotingServices class.

Applies to