SynchronizationAttribute.GetServerContextSink Method (IMessageSink)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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)

[SecurityCriticalAttribute]
public 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: