IClientChannel 인터페이스

정의

클라이언트 애플리케이션에서 사용하는 아웃바운드 요청 및 요청/응답 채널의 동작을 정의합니다.

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

설명

인터페이스는 IClientChannel 호출 ChannelFactory<TChannel>.CreateChannel에서 반환되는 모든 채널에서 지원하는 작업을 정의합니다. IClientChannel 메서드 및 속성을 사용하여 아웃바운드 형식화된 채널을 검사하고 수정합니다. ServiceModel 메타데이터 유틸리티 도구(Svcutil.exe)는 대상 서비스 계약에서 상속되는 계약 인터페이스를 만들고 확장 계약을 서비스의 프록시로 사용하고 클라이언트 채널에 액세스할 수 있도록 하여 클래스와 IClientChannel서비스 계약 인터페이스를 모두 ClientBase<TChannel> 내보냅니다.

자세한 내용은 WCF 클라이언트 아키텍처를 참조하세요. 생성된 클라이언트 코드 파일에 표시되는 예제는 생성된 클라이언트 코드 이해를 참조하세요.

속성

AllowInitializationUI

해당 컬렉션이 비어 있지 않은 경우 DisplayInitializationUI()에서 IInteractiveChannelInitializer 속성의 InteractiveChannelInitializers 개체를 호출하려고 시도할지 또는 throw할지를 나타내는 값을 가져오거나 설정합니다.

AllowOutputBatching

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

(다음에서 상속됨 IContextChannel)
DidInteractiveInitialization

자격 증명 정보를 얻기 위해 사용자 인터페이스를 호출했는지 여부를 나타내는 값을 가져옵니다.

Extensions

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

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

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

(다음에서 상속됨 IContextChannel)
LocalAddress

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

(다음에서 상속됨 IContextChannel)
OperationTimeout

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

(다음에서 상속됨 IContextChannel)
OutputSession

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

(다음에서 상속됨 IContextChannel)
RemoteAddress

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

(다음에서 상속됨 IContextChannel)
SessionId

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

(다음에서 상속됨 IContextChannel)
State

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

(다음에서 상속됨 ICommunicationObject)
Via

클라이언트 채널에서 보낸 메시지의 전송 주소를 포함하는 URI를 가져옵니다.

메서드

Abort()

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

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

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

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

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

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

자격 증명 정보를 얻기 위해 사용자 인터페이스를 사용하여 시작할 비동기 호출입니다.

BeginOpen(AsyncCallback, Object)

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

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

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

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

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

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

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

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

자격 증명 정보를 얻기 위한 사용자 인터페이스 호출입니다.

Dispose()

관리되지 않는 리소스의 확보, 해제 또는 다시 설정과 관련된 애플리케이션 정의 작업을 수행합니다.

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

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

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

BeginDisplayInitializationUI(AsyncCallback, Object) 호출이 끝나면 호출됩니다.

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)
UnknownMessageReceived

예약된 이벤트입니다.

적용 대상