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

リスナーのバインド コンテキスト。

戻り値

IChannelListener<TChannel>

指定したコンテキストに対応する型 TChannel のチャネル リスナー。

適用対象