This documentation is archived and is not being maintained.

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
)

Parameters

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.

ExceptionCondition
SecurityException

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, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: