SecurityBindingElement.BuildChannelListener<TChannel> 메서드

정의

전달된 바인딩 컨텍스트와 SecurityBindingElement 설정을 기반으로 채널 수신기를 만듭니다.

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

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

매개 변수

반환

전달된 바인딩 컨텍스트와 SecurityBindingElement 설정을 기반으로 한 채널 수신기입니다.

예외

context이(가) null인 경우

TChannel 형식의 채널이 지원되지 않는 경우

설명

생성된 채널 팩터리는 SOAP 메시지 보안 채널 수신기로, 내부적으로 전송 채널 수신기를 포함하는 바인딩 컨텍스트에 해당하는 채널 수신기에 대한 참조가 있습니다.

이 메서드는 매개 변수 오류 검사를 수행하고 를 호출합니다 BuildChannelListenerCore. 이 메서드는 파생 클래스에서 구현될 때 이 바인딩에 대해 들어오는 메시지를 처리하는 채널을 만드는 데 사용되는 채널 수신기를 만듭니다.

적용 대상