ServerChannelSinkStack.Store(IServerChannelSink, Object) 方法

定义

存储消息接收器及其关联状态,以便以后进行异步处理。

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)

参数

sink
IServerChannelSink

服务器通道接收器。

state
Object

与 . 关联的 sink状态。

实现

属性

例外

当前接收器堆栈为空。

-或-

指定的接收器从未推送到当前堆栈。

注解

Store 方法仅供.NET框架远程处理基础结构使用。 不应直接调用它。

适用于