System.Runtime.Remoting.Contexts.IContributeServerContextSink

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

See Also: IContributeServerContextSink Members

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public interface IContributeServerContextSink

Remarks

The System.Runtime.Remoting.Contexts.IContributeServerContextSink interface is implemented by context properties in a System.Runtime.Remoting.Contexts.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 System.Runtime.Remoting.Contexts.IContributeServerContextSink and which contribute a sink by using the IContributeServerContextSink.GetServerContextSink(System.Runtime.Remoting.Messaging.IMessageSink) 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.

Requirements

Namespace: System.Runtime.Remoting.Contexts
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0