SynchronizationAttribute.GetServerContextSink Method (IMessageSink)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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 virtual IMessageSink GetServerContextSink(
	IMessageSink 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