PeerCustomResolverBindingElement.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

생성할 채널의 형식을 지정하는 IChannel입니다.

매개 변수

context
BindingContext

채널 수신기에 대한 바인딩 컨텍스트를 지정하는 BindingContext입니다.

반환

지정된 형식의 새로운 채널 수신기를 포함하는 IChannelListener입니다.

설명

이 메서드는 전송 바인딩 요소의 구성에 따라 메시지를 받기 위한 채널 수신기를 가져오는 데 사용할 수 있습니다.

적용 대상