IContextChannel 인터페이스

정의

채널의 컨텍스트 컨트롤에 대한 인터페이스를 정의합니다.

public interface class IContextChannel : System::ServiceModel::Channels::IChannel, System::ServiceModel::IExtensibleObject<System::ServiceModel::IContextChannel ^>
public interface IContextChannel : System.ServiceModel.Channels.IChannel, System.ServiceModel.IExtensibleObject<System.ServiceModel.IContextChannel>
type IContextChannel = interface
    interface IChannel
    interface ICommunicationObject
    interface IExtensibleObject<IContextChannel>
Public Interface IContextChannel
Implements IChannel, IExtensibleObject(Of IContextChannel)
파생
구현

설명

중요

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

IContextChannel 채널 컨텍스트에 대한 컨트롤을 정의합니다. 여기에는 세션에 SessionIdInputSessionOutputSession참여하는 엔드포인트 및 AllowOutputBatching 채널 LocalAddress RemoteAddress 에 대한 , 및 엔드포인트가 포함됩니다. 인터페이스는 IContextChannel 인터페이스 및 IClientChannel 인터페이스의 IDuplexContextChannel 일부를 IServiceChannel 형성합니다.

속성

AllowOutputBatching

전송에 메시지를 제공하기 전에 메시지 집합을 저장하도록 WCF(Windows Communication Foundation)에게 지시하는 값을 가져오거나 설정합니다.

Extensions

이 확장 가능한 개체에 대한 확장 개체의 컬렉션을 가져옵니다.

(다음에서 상속됨 IExtensibleObject<T>)
InputSession

채널의 입력 세션을 가져옵니다.

LocalAddress

채널의 로컬 엔드포인트를 가져옵니다.

OperationTimeout

작업을 완료해야 하거나 예외를 throw해야 하는 기간을 가져오거나 설정합니다.

OutputSession

채널과 연결된 출력 세션이 있으면 해당 세션을 가져옵니다.

RemoteAddress

채널과 연결된 원격 주소를 가져옵니다.

SessionId

현재 세션에 대한 식별자가 있는 경우 해당 식별자를 반환합니다.

State

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

(다음에서 상속됨 ICommunicationObject)

메서드

Abort()

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

(다음에서 상속됨 ICommunicationObject)

이벤트

Closed

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

(다음에서 상속됨 ICommunicationObject)
Closing

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

(다음에서 상속됨 ICommunicationObject)
Faulted

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

(다음에서 상속됨 ICommunicationObject)
Opened

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

(다음에서 상속됨 ICommunicationObject)
Opening

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

(다음에서 상속됨 ICommunicationObject)

적용 대상