System.Runtime.Remoting.RemotingServices.GetEnvoyChainForProxy Method

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

Syntax

public static System.Runtime.Remoting.Messaging.IMessageSink GetEnvoyChainForProxy (MarshalByRefObject obj)

Parameters

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

Returns

A chain of envoy sinks associated with the specified proxy.

Remarks

Envoy sinks are sinks sent along with the System.Runtime.Remoting.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.

Requirements

Namespace: System.Runtime.Remoting
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0