Język

ServerChannelSinkStack.Store(IServerChannelSink, Object) Metoda

Definicja

Przechowuje ujście komunikatu i skojarzony stan na potrzeby późniejszego przetwarzania asynchronicznego.

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)

Parametry

sink
IServerChannelSink

Ujście kanału serwera.

state
Object

Stan skojarzony z sink.

Implementuje

Atrybuty

Wyjątki

Bieżący stos ujścia jest pusty.

— lub —

Określony ujście nigdy nie został wypchnięty do bieżącego stosu.

Uwagi

Metoda Store jest przeznaczona tylko do użytku przez infrastrukturę komunikacji zdalną platformy .NET. Nie należy go wywoływać bezpośrednio.

Dotyczy