IDuplexChannel 인터페이스

정의

메시지를 송신 및 수신하기 위해 채널이 구현해야 하는 인터페이스를 정의합니다.

public interface class IDuplexChannel : System::ServiceModel::Channels::IInputChannel, System::ServiceModel::Channels::IOutputChannel
public interface IDuplexChannel : System.ServiceModel.Channels.IInputChannel, System.ServiceModel.Channels.IOutputChannel
type IDuplexChannel = interface
    interface IChannel
    interface ICommunicationObject
    interface IInputChannel
    interface IOutputChannel
type IDuplexChannel = interface
    interface IInputChannel
    interface IOutputChannel
    interface IChannel
    interface ICommunicationObject
type IDuplexChannel = interface
    interface IInputChannel
    interface IChannel
    interface ICommunicationObject
    interface IOutputChannel
type IDuplexChannel = interface
    interface IOutputChannel
    interface IInputChannel
    interface ICommunicationObject
    interface IChannel
Public Interface IDuplexChannel
Implements IInputChannel, IOutputChannel
파생
구현

설명

중요

신뢰할 수 없는 데이터로 이 인터페이스를 구현하는 클래스에서 메서드를 호출하는 것은 보안상 위험합니다. 신뢰할 수 있는 데이터로만 이 인터페이스를 구현하는 클래스에서 메서드를 호출하세요. 자세한 내용은 모든 입력 유효성 검사를 참조하세요.

인터페이스는 IDuplexChannel 인터페이스와 IOutputChannel 인터페이스의 합합 IInputChannel 입니다. 인터페이스는 IDuplexChannel 구현될 때와 IOutputChannel 상관 관계를 IInputChannel 요구하지 않습니다. 즉, 특히 계약을 통해 IInputChannel 수신되는 메시지의 보낸 사람이 해당 메시지를 통해 IOutputChannel보낸 메시지의 받는 사람과 같도록 의무화하지 않습니다.

속성

LocalAddress

입력 채널이 메시지를 수신하는 주소를 가져옵니다.

(다음에서 상속됨 IInputChannel)
RemoteAddress

출력 채널에서 메시지를 보내는 서비스의 대상을 가져옵니다.

(다음에서 상속됨 IOutputChannel)
State

통신 지향 개체의 현재 상태를 가져옵니다.

(다음에서 상속됨 ICommunicationObject)
Via

출력 채널에서 보내는 메시지의 전송 주소가 포함된 URI를 가져옵니다.

(다음에서 상속됨 IOutputChannel)

메서드

Abort()

통신 개체가 현재 상태에서 Closed 상태로 즉시 전환되도록 합니다.

(다음에서 상속됨 ICommunicationObject)
BeginClose(AsyncCallback, Object)

통신 개체를 닫기 위한 비동기 작업을 시작합니다.

(다음에서 상속됨 ICommunicationObject)
BeginClose(TimeSpan, AsyncCallback, Object)

지정된 제한 시간 내에서 통신 개체를 닫기 위한 비동기 작업을 시작합니다.

(다음에서 상속됨 ICommunicationObject)
BeginOpen(AsyncCallback, Object)

통신 개체를 열기 위한 비동기 작업을 시작합니다.

(다음에서 상속됨 ICommunicationObject)
BeginOpen(TimeSpan, AsyncCallback, Object)

지정된 시간 간격 내에서 통신 개체를 열기 위한 비동기 작업을 시작합니다.

(다음에서 상속됨 ICommunicationObject)
BeginReceive(AsyncCallback, Object)

연결된 상태 개체가 있는 메시지를 수신하기 위해 비동기 작업을 시작합니다.

(다음에서 상속됨 IInputChannel)
BeginReceive(TimeSpan, AsyncCallback, Object)

지정된 시간 제한이 있는 메시지와 그에 연결된 상태 개체를 수신하기 위해 비동기 작업을 시작합니다.

(다음에서 상속됨 IInputChannel)
BeginSend(Message, AsyncCallback, Object)

출력 채널의 대상으로 메시지를 전송하기 위해 비동기 작업을 시작합니다.

(다음에서 상속됨 IOutputChannel)
BeginSend(Message, TimeSpan, AsyncCallback, Object)

지정된 시간 간격 내에 출력 채널의 대상으로 메시지를 전송하기 위해 비동기 작업을 시작합니다.

(다음에서 상속됨 IOutputChannel)
BeginTryReceive(TimeSpan, AsyncCallback, Object)

지정된 시간 제한이 있는 메시지와 그에 연결된 상태 개체를 수신하기 위해 비동기 작업을 시작합니다.

(다음에서 상속됨 IInputChannel)
BeginWaitForMessage(TimeSpan, AsyncCallback, Object)

지정된 시간 제한 및 연결된 상태 개체가 있는 비동기 메시지 도착 대기 작업을 시작합니다.

(다음에서 상속됨 IInputChannel)
Close()

통신 개체가 현재 상태에서 Closed 상태로 전환되도록 합니다.

(다음에서 상속됨 ICommunicationObject)
Close(TimeSpan)

통신 개체가 현재 상태에서 Closed 상태로 전환되도록 합니다.

(다음에서 상속됨 ICommunicationObject)
EndClose(IAsyncResult)

통신 개체를 닫기 위한 비동기 작업을 완료합니다.

(다음에서 상속됨 ICommunicationObject)
EndOpen(IAsyncResult)

통신 개체를 열기 위한 비동기 작업을 완료합니다.

(다음에서 상속됨 ICommunicationObject)
EndReceive(IAsyncResult)

메시지를 수신하는 비동기 작업을 완료합니다.

(다음에서 상속됨 IInputChannel)
EndSend(IAsyncResult)

출력 채널의 대상으로 메시지를 전송하기 위해 비동기 작업을 완료합니다.

(다음에서 상속됨 IOutputChannel)
EndTryReceive(IAsyncResult, Message)

메시지를 수신하는 지정된 비동기 작업을 완료합니다.

(다음에서 상속됨 IInputChannel)
EndWaitForMessage(IAsyncResult)

지정된 비동기 메시지 대기 작업을 완료합니다.

(다음에서 상속됨 IInputChannel)
GetProperty<T>()

요청한 형식화된 개체가 있는 경우 채널 스택의 해당 계층에서 반환합니다.

(다음에서 상속됨 IChannel)
Open()

통신 개체가 Created 상태에서 Opened 상태로 전환되도록 합니다.

(다음에서 상속됨 ICommunicationObject)
Open(TimeSpan)

통신 개체가 지정된 시간 간격 내에 Created 상태에서 Opened 상태로 전환되도록 합니다.

(다음에서 상속됨 ICommunicationObject)
Receive()

메시지가 사용 가능한 경우 수신된 메시지를 반환합니다. 메시지를 사용할 수 없는 경우 기본 시간 간격 동안 차단합니다.

(다음에서 상속됨 IInputChannel)
Receive(TimeSpan)

메시지가 사용 가능한 경우 수신된 메시지를 반환합니다. 메시지를 사용할 수 없는 경우 지정된 시간 간격 동안 차단합니다.

(다음에서 상속됨 IInputChannel)
Send(Message)

출력 채널의 대상으로 메시지를 전송합니다.

(다음에서 상속됨 IOutputChannel)
Send(Message, TimeSpan)

지정된 시간 간격 내에 현재 출력 채널에서 메시지를 보냅니다.

(다음에서 상속됨 IOutputChannel)
TryReceive(TimeSpan, Message)

지정된 시간 간격 내에 메시지를 수신하려고 시도합니다.

(다음에서 상속됨 IInputChannel)
WaitForMessage(TimeSpan)

지정된 시간 간격 내에 메시지가 도착했는지 여부를 나타내는 값을 반환합니다.

(다음에서 상속됨 IInputChannel)

이벤트

Closed

통신 개체가 Closing 상태에서 Closed 상태로 전환을 완료할 때 발생합니다.

(다음에서 상속됨 ICommunicationObject)
Closing

통신 개체가 처음 Closing 상태가 될 때 발생합니다.

(다음에서 상속됨 ICommunicationObject)
Faulted

통신 개체가 처음 Faulted 상태가 될 때 발생합니다.

(다음에서 상속됨 ICommunicationObject)
Opened

통신 개체가 Opening 상태에서 Opened 상태로 전환을 완료할 때 발생합니다.

(다음에서 상속됨 ICommunicationObject)
Opening

통신 개체가 처음 Opening 상태가 될 때 발생합니다.

(다음에서 상속됨 ICommunicationObject)

적용 대상