Udostępnij za pośrednictwem


ServerChannelSinkStack.Store(IServerChannelSink, Object) Metoda

Definicja

Przechowuje ujście komunikatu i skojarzony z nim 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 elementem 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 jest przeznaczona Store tylko do użytku przez infrastrukturę komunikacji zdalną .NET Framework. Nie należy go wywoływać bezpośrednio.

Dotyczy