共用方式為


ServerChannelSinkStack.Push(IServerChannelSink, Object) 方法

定義

將指定的接收和與其相關的資訊推入接收堆疊。

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

參數

sink
IServerChannelSink

要推入接收堆疊的接收。

state
Object

在要求端產生的資訊,為回應端所需要。

實作

屬性

備註

在要求端和 參數中指定的state資訊,會在對應接收上方法的 AsyncProcessResponse 參數中state傳回。

適用於