Edit

Share via


ClientChannelSinkStack.Push(IClientChannelSink, Object) Method

Definition

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

public:
 virtual 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
override this.Push : System.Runtime.Remoting.Channels.IClientChannelSink * obj -> unit
[<System.Security.SecurityCritical>]
abstract member Push : System.Runtime.Remoting.Channels.IClientChannelSink * obj -> unit
override this.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.

Implements

Attributes

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