IContributeServerContextSink Interface

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Contributes an interception sink at the context boundary on the server end of a remoting call.

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

[ComVisibleAttribute(true)]
public interface class IContributeServerContextSink

NameDescription
System_CAPS_pubmethodGetServerContextSink(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.

The IContributeServerContextSink interface is implemented by context properties in a Context class that want to contribute an interception sink at the context boundary on the server end of a remoting call.

The server context chain is composed from those properties in the server context that implement IContributeServerContextSink and which contribute a sink by using the GetServerContextSink method call.

Serialization is an example of such a context property. In this case, the message sink would involve taking a synchronization primitive lock before processing a call any further.

.NET Framework
Available since 1.1
Return to top
Show: