Share via


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 メンバー。

戻り値

指定した種類のチャネル リスナー。

例外

context として null を使用することはできません。

注釈

トランスポート バインディング要素で設定されている値に基づいて構成されたチャネル リスナー。

適用対象