IClientChannelSinkStack 인터페이스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
비동기 메시지 응답 디코딩 중에 호출해야 하는 클라이언트 채널 싱크 스택에 대한 기능을 제공합니다.
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에 자신을 푸시해야 합니다.
메서드
| Name | Description |
|---|---|
| AsyncProcessResponse(ITransportHeaders, Stream) |
현재 싱크 스택의 싱크에서 메서드 호출의 비동기 처리를 요청합니다. (다음에서 상속됨 IClientResponseChannelSinkStack) |
| DispatchException(Exception) |
회신 싱크에서 지정된 예외를 디스패치합니다. (다음에서 상속됨 IClientResponseChannelSinkStack) |
| DispatchReplyMessage(IMessage) |
회신 싱크에서 지정된 회신 메시지를 디스패치합니다. (다음에서 상속됨 IClientResponseChannelSinkStack) |
| Pop(IClientChannelSink) |
싱크 스택에서 지정된 싱크까지 모든 싱크와 연결된 정보를 팝합니다. |
| Push(IClientChannelSink, Object) |
싱크 스택에 연결된 지정된 싱크 및 정보를 푸시합니다. |