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.
Assembly: mscorlib (in mscorlib.dll)
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::IMessageSinkA chain of envoy sinks associated with the specified proxy.
| Exception | Condition |
|---|---|
| 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.
- SecurityPermission
for operating with infrastructure code. Demand value: SecurityAction::LinkDemand; Permission value: SecurityPermissionFlag::Infrastructure
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.