ClientChannelSinkStack.Pop(IClientChannelSink) Method

Definition

Pops the information that is associated with all the sinks from the sink stack up to and including the specified sink.

public:
 virtual System::Object ^ Pop(System::Runtime::Remoting::Channels::IClientChannelSink ^ sink);
public object Pop (System.Runtime.Remoting.Channels.IClientChannelSink sink);
[System.Security.SecurityCritical]
public object Pop (System.Runtime.Remoting.Channels.IClientChannelSink sink);
abstract member Pop : System.Runtime.Remoting.Channels.IClientChannelSink -> obj
override this.Pop : System.Runtime.Remoting.Channels.IClientChannelSink -> obj
[<System.Security.SecurityCritical>]
abstract member Pop : System.Runtime.Remoting.Channels.IClientChannelSink -> obj
override this.Pop : System.Runtime.Remoting.Channels.IClientChannelSink -> obj
Public Function Pop (sink As IClientChannelSink) As Object

Parameters

sink
IClientChannelSink

The sink to remove and return from the sink stack.

Returns

Information generated on the request side and associated with the specified sink.

Implements

Attributes

Exceptions

The current sink stack is empty, or the specified sink was never pushed onto the current stack.

Applies to