System.Runtime.Remoting.Channels.ServerChannelSinkStack.StoreAndDispatch Method

Stores a message sink and its associated state, and then dispatches a message asynchronously, using the sink just stored and any other stored sinks.

Syntax

public void StoreAndDispatch (IServerChannelSink sink, object state)

Parameters

sink
A server channel sink.
state
The state associated with sink.

Remarks

The ServerChannelSinkStack.StoreAndDispatch(IServerChannelSink, object) method is intended for use only by the .NET Framework remoting infrastructure. You should not call it directly.

The method should be only called by a transport sink to complete an asynchronous dispatch.

Requirements

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