語言

ClientChannelSinkStack.Push(IClientChannelSink, Object) 方法

定義

將指定的匯及相關資訊推送到匯疊堆疊。

public:
 virtual 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
override this.Push : System.Runtime.Remoting.Channels.IClientChannelSink * obj -> unit
[<System.Security.SecurityCritical>]
abstract member Push : System.Runtime.Remoting.Channels.IClientChannelSink * obj -> unit
override this.Push : System.Runtime.Remoting.Channels.IClientChannelSink * obj -> unit
Public Sub Push (sink As IClientChannelSink, state As Object)

參數

sink
IClientChannelSink

水槽可以推到水槽堆疊上。

state
Object

請求端產生的資訊,回應端則需要。

實作

屬性

備註

請求端產生的資訊並在參數中指定state,會在對應匯款的方法參數state中回傳AsyncProcessResponse。

適用於