Share via


IClientChannelSinkStack.Push(IClientChannelSink, Object) Méthode

Définition

Exécute un push du récepteur spécifié et des informations associées à celui-ci dans la pile de récepteurs.

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

Paramètres

sink
IClientChannelSink

Récepteur faisant l'objet d'un push dans la pile de récepteurs.

state
Object

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

Attributs

Exceptions

L'appelant immédiat n'a pas d'autorisation d'accès à l'infrastructure.

Remarques

Les informations générées côté demande 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 à