SecurityBindingElement.BuildChannelListenerCore<TChannel> メソッド

定義

実装されると、指定した種類のチャネル リスナーを作成します。

protected:
generic <typename TChannel>
 where TChannel : class, System::ServiceModel::Channels::IChannel abstract System::ServiceModel::Channels::IChannelListener<TChannel> ^ BuildChannelListenerCore(System::ServiceModel::Channels::BindingContext ^ context);
protected abstract System.ServiceModel.Channels.IChannelListener<TChannel> BuildChannelListenerCore<TChannel> (System.ServiceModel.Channels.BindingContext context) where TChannel : class, System.ServiceModel.Channels.IChannel;
abstract member BuildChannelListenerCore : 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)
Protected MustOverride Function BuildChannelListenerCore(Of TChannel As {Class, IChannel}) (context As BindingContext) As IChannelListener(Of TChannel)

型パラメーター

TChannel

チャネル リスナーの種類。

パラメーター

context
BindingContext

BindingContext オブジェクト。

戻り値

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

例外

contextnullです。

TChannel 型のチャネルはサポートされません。

注釈

BuildChannelListenerエラー チェックを行う は、このメソッドを呼び出します。 このメソッドは、派生クラスで実装されると、チャネル リスナーを作成します。これは、このバインドの送信メッセージを処理するチャネルの作成に使用されます。

適用対象