Export (0) Print
Expand All

IClientChannelSinkStack Interface

Provides functionality for a stack of client channel sinks that must be invoked during an asynchronous message response decoding.

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

[ComVisibleAttribute(true)]
public interface IClientChannelSinkStack : IClientResponseChannelSinkStack

The IClientChannelSinkStack type exposes the following members.

  NameDescription
Public methodAsyncProcessResponseRequests asynchronous processing of a method call on the sinks in the current sink stack. (Inherited from IClientResponseChannelSinkStack.)
Public methodDispatchExceptionDispatches the specified exception on the reply sink. (Inherited from IClientResponseChannelSinkStack.)
Public methodDispatchReplyMessageDispatches the specified reply message on the reply sink. (Inherited from IClientResponseChannelSinkStack.)
Public methodPopPops the information associated with all the sinks from the sink stack up to and including the specified sink.
Public methodPushPushes the specified sink and information associated with it onto the sink stack.
Top

The IClientChannelSinkStack is used during processing of responses to asynchronous calls.

During a synchronous call, the IClientChannelSink.ProcessMessage method is called when a message is outbound to the server. Each sink in the sink chain calls the ProcessMessage method on the next sink until the call reaches the transport sink at the end of the chain. From there the message is transported to the server.

When the formatter sink is called through the AsyncProcessMessage method, it dispatches the call asynchronously by calling AsyncProcessRequest on the next channel sink. A stack of reply sinks is needed to process the response. Any sink that wants to process the response needs to push itself to the client channel sink stack inside of AsyncProcessRequest.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft