ServerChannelSinkStack.Store(IServerChannelSink, Object) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Stocke un récepteur de messages et son état associé pour 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 de serveur.
- state
- Object
État associé à sink.
Implémente
- Attributs
Exceptions
La pile de récepteurs actuelle est vide.
- ou -
Le récepteur spécifié n’a jamais été envoyé sur la pile actuelle.
Remarques
La méthode Store est destinée à être utilisée uniquement par l’infrastructure de communication à distance .NET Framework. Vous ne devez pas l’appeler directement.