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.

Namespace:  System.Runtime.Remoting
Assembly:  mscorlib (in mscorlib.dll)

public static IMessageSink GetEnvoyChainForProxy(
	MarshalByRefObject obj


Type: System.MarshalByRefObject

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

Return Value

Type: System.Runtime.Remoting.Messaging.IMessageSink
A chain of envoy sinks associated with the specified proxy.


The immediate caller does not have infrastructure permission.

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft