ServerChannelSinkStack.Pop(IServerChannelSink) 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.
Pops the information 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::IServerChannelSink ^ sink);
public object Pop (System.Runtime.Remoting.Channels.IServerChannelSink sink);
[System.Security.SecurityCritical]
public object Pop (System.Runtime.Remoting.Channels.IServerChannelSink sink);
abstract member Pop : System.Runtime.Remoting.Channels.IServerChannelSink -> obj
override this.Pop : System.Runtime.Remoting.Channels.IServerChannelSink -> obj
[<System.Security.SecurityCritical>]
abstract member Pop : System.Runtime.Remoting.Channels.IServerChannelSink -> obj
override this.Pop : System.Runtime.Remoting.Channels.IServerChannelSink -> obj
Public Function Pop (sink As IServerChannelSink) As Object
Parameters
- sink
- IServerChannelSink
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.