ServerChannelSinkStack.StoreAndDispatch(IServerChannelSink, Object) Metodo

Definizione

Archivia un sink di messaggio e lo stato associato e quindi invia un messaggio in modo asincrono, usando il sink appena archiviato e qualsiasi altro sink archiviato.

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

Parametri

sink
IServerChannelSink

Sink del canale del server.

state
Object

Stato associato a sink.

Implementazioni

Attributi

Commenti

Il metodo StoreAndDispatch è destinato all'uso solo dall'infrastruttura remota di .NET Framework. Non è consigliabile chiamarla direttamente.

Il metodo deve essere chiamato solo da un sink di trasporto per completare un invio asincrono.

Si applica a