Redigera

Dela via


RemotingServices.GetEnvoyChainForProxy(MarshalByRefObject) Method

Definition

Returns a chain of envoy sinks that should be used when sending messages to the remote object represented by the specified proxy.

public:
 static System::Runtime::Remoting::Messaging::IMessageSink ^ GetEnvoyChainForProxy(MarshalByRefObject ^ obj);
public static System.Runtime.Remoting.Messaging.IMessageSink GetEnvoyChainForProxy (MarshalByRefObject obj);
[System.Security.SecurityCritical]
public static System.Runtime.Remoting.Messaging.IMessageSink GetEnvoyChainForProxy (MarshalByRefObject obj);
static member GetEnvoyChainForProxy : MarshalByRefObject -> System.Runtime.Remoting.Messaging.IMessageSink
[<System.Security.SecurityCritical>]
static member GetEnvoyChainForProxy : MarshalByRefObject -> System.Runtime.Remoting.Messaging.IMessageSink
Public Shared Function GetEnvoyChainForProxy (obj As MarshalByRefObject) As IMessageSink

Parameters

obj
MarshalByRefObject

The proxy of the remote object that requested envoy sinks are associated with.

Returns

A chain of envoy sinks associated with the specified proxy.

Attributes

Exceptions

The immediate caller does not have infrastructure permission.

Remarks

Envoy sinks are sinks sent along with the ObjRef of an object that is used when returning messages to that object. The current method returns the envoy sinks that are used during communication between the proxy of the object and the object itself.

Applies to

See also