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)

'Declaration
<ComVisibleAttribute(True)> _
Public Interface IClientChannelSinkStack
	Inherits IClientResponseChannelSinkStack
'Usage
Dim instance As IClientChannelSinkStack

/** @attribute ComVisibleAttribute(true) */ 
public interface IClientChannelSinkStack extends IClientResponseChannelSinkStack
ComVisibleAttribute(true) 
public interface IClientChannelSinkStack extends IClientResponseChannelSinkStack
Not applicable.

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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft