IClientChannelSinkStack.Push(IClientChannelSink, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.