HttpsTransportBindingElement.BuildChannelListener<TChannel> 메서드

정의

채널을 만드는 데 사용할 수 있는 지정된 형식의 채널 수신기를 만듭니다.

public:
generic <typename TChannel>
 where TChannel : class, System::ServiceModel::Channels::IChannel override System::ServiceModel::Channels::IChannelListener<TChannel> ^ BuildChannelListener(System::ServiceModel::Channels::BindingContext ^ context);
public override System.ServiceModel.Channels.IChannelListener<TChannel> BuildChannelListener<TChannel> (System.ServiceModel.Channels.BindingContext context) where TChannel : class, System.ServiceModel.Channels.IChannel;
override this.BuildChannelListener : System.ServiceModel.Channels.BindingContext -> System.ServiceModel.Channels.IChannelListener<'Channel (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)> (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)
Public Overrides Function BuildChannelListener(Of TChannel As {Class, IChannel}) (context As BindingContext) As IChannelListener(Of TChannel)

형식 매개 변수

TChannel

채널 형식입니다.

매개 변수

context
BindingContext

채널 팩터리를 만드는 데 필요한 바인딩, 동작, 계약, 기타 정보를 설명하는 BindingContext 멤버입니다.

반환

지정된 형식의 채널 수신기입니다.

예외

contextnull이 될 수 없는 경우

설명

전송 바인딩 요소에 설정된 값에 따라 구성된 채널 수신기입니다.

적용 대상