SynchronizationAttribute::GetServerContextSink Method (IMessageSink^)

 

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

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

public:
[SecurityCriticalAttribute]
virtual IMessageSink^ GetServerContextSink(
	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 synchronized dispatch sink.

The current method is an implementation of IContributeServerContextSink::GetServerContextSink.

.NET Framework
Available since 1.1
Return to top
Show: