IClientChannelSinkStack.Push(IClientChannelSink, Object) Method

Definition

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

public:
 void Push(System::Runtime::Remoting::Channels::IClientChannelSink ^ sink, System::Object ^ state);
public void Push (System.Runtime.Remoting.Channels.IClientChannelSink sink, object state);
[System.Security.SecurityCritical]
public void Push (System.Runtime.Remoting.Channels.IClientChannelSink sink, object state);
abstract member Push : System.Runtime.Remoting.Channels.IClientChannelSink * obj -> unit
[<System.Security.SecurityCritical>]
abstract member Push : System.Runtime.Remoting.Channels.IClientChannelSink * obj -> unit
Public Sub Push (sink As IClientChannelSink, state As Object)

Parameters

sink
IClientChannelSink

The sink to push onto the sink stack.

state
Object

Information generated on the request side that is needed on the response side.

Attributes

Exceptions

The immediate caller does not have infrastructure permission.

Remarks

The information generated on the request side and specified in the state parameter is returned in the state parameter of the AsyncProcessResponse method on the corresponding sink.

Applies to