IContributeServerContextSink Interface

Definition

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

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

public interface class IContributeServerContextSink
public interface IContributeServerContextSink
[System.Runtime.InteropServices.ComVisible(true)]
public interface IContributeServerContextSink
type IContributeServerContextSink = interface
[<System.Runtime.InteropServices.ComVisible(true)>]
type IContributeServerContextSink = interface
Public Interface IContributeServerContextSink
Derived
Attributes

Remarks

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.

Methods

GetServerContextSink(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.

Applies to