ServerChannelSinkStack.Store(IServerChannelSink, Object) Method

Definition

Stores a message sink and its associated state for later asynchronous processing.

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

Parameters

sink
IServerChannelSink

A server channel sink.

state
Object

The state associated with sink.

Implements

Attributes

Exceptions

The current sink stack is empty.

-or-

The specified sink was never pushed onto the current stack.

Remarks

The Store method is intended for use only by the .NET Framework remoting infrastructure. You should not call it directly.

Applies to