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 Framework 遠端基礎設施使用。 你不應該直接打電話。

適用於