Partage via


ServerChannelSinkStack.StoreAndDispatch(IServerChannelSink, Object) Méthode

Définition

Stocke un récepteur de messages et l'état qui lui est associé, puis distribue un message de façon asynchrone, à l'aide du récepteur que vous venez de stocker et de tous les autres récepteurs stockés.

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)

Paramètres

sink
IServerChannelSink

Récepteur de canal serveur.

state
Object

État associé à sink.

Implémente

Attributs

Remarques

La StoreAndDispatch méthode est destinée à être utilisée uniquement par l’infrastructure de communication à distance .NET Framework. Vous ne devriez pas l’appeler directement.

La méthode doit être appelée uniquement par un récepteur de transport pour effectuer une répartition asynchrone.

S’applique à