IContributeEnvoySink.GetEnvoySink Method (MarshalByRefObject, IMessageSink)
This API supports the product infrastructure and is not intended to be used directly from your code.
Takes the first sink in the chain of sinks composed so far, and then chains its message sink in front of the chain already formed.
Assembly: mscorlib (in mscorlib.dll)
[SecurityCriticalAttribute] IMessageSink GetEnvoySink( MarshalByRefObject obj, IMessageSink nextSink )
The server object for which the chain is being created.
The chain of sinks composed so far.
Return ValueType: System.Runtime.Remoting.Messaging.IMessageSink
The composite sink chain.
Themethod is used as an optimization to create an envoy sink when the destination is a different context in the same application domain and is used by the Wrap operation.
Available since 1.1