SynchronizationAttribute::GetClientContextSink Method (IMessageSink^)

 

Creates a CallOut sink and chains it in front of the provided chain of sinks at the context boundary on the client end of a remoting call.

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

public:
[SecurityCriticalAttribute]
virtual IMessageSink^ GetClientContextSink(
	IMessageSink^ nextSink
)

Parameters

nextSink
Type: System.Runtime.Remoting.Messaging::IMessageSink^

The chain of sinks composed so far.

Return Value

Type: System.Runtime.Remoting.Messaging::IMessageSink^

The composite sink chain with the new CallOut sink.

The current method is an implementation of IContributeClientContextSink::GetClientContextSink.

.NET Framework
Available since 1.1
Return to top
Show: