Επεξεργασία

Κοινή χρήση μέσω


IContributeClientContextSink Interface

Definition

Contributes an interception sink at the context boundary on the client 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 IContributeClientContextSink
public interface IContributeClientContextSink
[System.Runtime.InteropServices.ComVisible(true)]
public interface IContributeClientContextSink
type IContributeClientContextSink = interface
[<System.Runtime.InteropServices.ComVisible(true)>]
type IContributeClientContextSink = interface
Public Interface IContributeClientContextSink
Derived
Attributes

Remarks

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

The client context chain is composed from those properties in the client context that implement IContributeClientContextSink, which contributes to a sink through the GetClientContextSink method call. This chain is cached for future use.

Methods

GetClientContextSink(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