IServerChannelSinkStack.Push(IServerChannelSink, Object) Méthode

Définition

Envoie (push) le récepteur et les informations spécifiés qui lui sont associées sur la pile du récepteur.

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

Paramètres

sink
IServerChannelSink

Récepteur à pousser sur la pile du récepteur.

state
Object

Informations générées côté demande qui sont nécessaires côté réponse.

Attributs

Exceptions

L’appelant immédiat n’a pas d’autorisation d’infrastructure.

Remarques

Les informations générées côté requête et spécifiées dans le state paramètre sont retournées dans le state paramètre de la AsyncProcessResponse méthode sur le récepteur correspondant.

S’applique à