Partage via


ServerChannelSinkStack.Store(IServerChannelSink, Object) Méthode

Définition

Stocke un récepteur de messages et l'état qui lui est associé en vue d'un traitement asynchrone ultérieur.

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)

Paramètres

sink
IServerChannelSink

Récepteur de canal serveur.

state
Object

État associé à sink.

Implémente

Attributs

Exceptions

La pile de récepteurs en cours est vide.

- ou -

Le récepteur spécifié n'a jamais fait l'objet d'un push sur la pile actuelle.

Remarques

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

S’applique à