ServerChannelSinkStack.Push(IServerChannelSink, Object) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將指定的匯集及其相關資訊推送到匯盤堆疊上。
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。