Edit

Share via


IServerChannelSinkStack.Push(IServerChannelSink, Object) Method

Definition

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

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

Parameters

sink
IServerChannelSink

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