IClientChannelSinkStack 인터페이스

정의

비동기 메시지 응답 디코딩 동안 호출되어야 하는 클라이언트 채널 싱크의 스택에 대한 기능을 제공합니다.

public interface class IClientChannelSinkStack : System::Runtime::Remoting::Channels::IClientResponseChannelSinkStack
public interface IClientChannelSinkStack : System.Runtime.Remoting.Channels.IClientResponseChannelSinkStack
[System.Runtime.InteropServices.ComVisible(true)]
public interface IClientChannelSinkStack : System.Runtime.Remoting.Channels.IClientResponseChannelSinkStack
type IClientChannelSinkStack = interface
    interface IClientResponseChannelSinkStack
[<System.Runtime.InteropServices.ComVisible(true)>]
type IClientChannelSinkStack = interface
    interface IClientResponseChannelSinkStack
Public Interface IClientChannelSinkStack
Implements IClientResponseChannelSinkStack
파생
특성
구현

설명

IClientChannelSinkStack 비동기 호출에 대 한 응답을 처리 하는 동안 사용 됩니다.

동기 호출을 사용 하는 동안는 IClientChannelSink.ProcessMessage 메서드는 메시지를 서버로 아웃 바운드 때 호출 됩니다. 호출 하 여 싱크 체인의에서 각 싱크를 ProcessMessage 메서드 호출이 전송 싱크 체인의 끝에 도달할 때까지 다음 싱크를 합니다. 여기에서 메시지를 서버로 전송 됩니다.

포맷터 싱크를 통해 호출 되는 경우는 AsyncProcessMessage 메서드를 호출 하 여 호출이 비동기적으로 디스패치합니다 AsyncProcessRequest 다음 채널 싱크의 합니다. 회신 싱크 스택에 응답을 처리 하는 데 필요 합니다. 내부 클라이언트 채널 싱크 스택에 자신을 푸시 해야 하는 응답을 처리 하려고 하는 모든 싱크 AsyncProcessRequest합니다.

메서드

AsyncProcessResponse(ITransportHeaders, Stream)

현재 싱크 스택의 싱크에서 메서드 호출을 비동기식으로 처리하도록 요청합니다.

(다음에서 상속됨 IClientResponseChannelSinkStack)
DispatchException(Exception)

회신 싱크에서 지정된 예외를 디스패치합니다.

(다음에서 상속됨 IClientResponseChannelSinkStack)
DispatchReplyMessage(IMessage)

회신 싱크에서 지정된 회신 메시지를 디스패치합니다.

(다음에서 상속됨 IClientResponseChannelSinkStack)
Pop(IClientChannelSink)

싱크 스택에서 지정된 싱크까지 모든 싱크와 관련된 정보를 팝합니다.

Push(IClientChannelSink, Object)

지정된 싱크와 이와 관련된 정보를 싱크 스택으로 푸시합니다.

적용 대상

추가 정보