IClientChannelSinkStack.Push(IClientChannelSink, Object) 메서드

정의

싱크 스택에 연결된 지정된 싱크 및 정보를 푸시합니다.

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)

매개 변수

sink
IClientChannelSink

싱크 스택에 푸시할 싱크입니다.

state
Object

응답 쪽에 필요한 요청 쪽에서 생성된 정보입니다.

특성

예외

즉시 호출자에게 인프라 권한이 없습니다.

설명

요청 쪽에서 생성되고 매개 변수에 state 지정된 정보는 해당 싱크에 있는 state 메서드의 AsyncProcessResponse 매개 변수에 반환됩니다.

적용 대상