System.Runtime.Remoting.Channels.ServerChannelSinkStack.Push Method

Pushes the specified sink and information associated with it onto the sink stack.

Syntax

public void Push (IServerChannelSink sink, object state)

Parameters

sink
The sink to push onto the sink stack.
state
Information generated on the request side that is needed on the response side.

Remarks

The information generated on the request side and specified in the state parameter is returned in the state parameter of the IServerChannelSink.AsyncProcessResponse(IServerResponseChannelSinkStack, object, System.Runtime.Remoting.Messaging.IMessage, ITransportHeaders, System.IO.Stream) method on the corresponding sink.

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