Share via


HttpsTransportBindingElement.BuildChannelFactory<TChannel> メソッド

定義

チャネルの作成に使用できる、指定した種類のチャネル ファクトリを作成します。

public:
generic <typename TChannel>
 override System::ServiceModel::Channels::IChannelFactory<TChannel> ^ BuildChannelFactory(System::ServiceModel::Channels::BindingContext ^ context);
public override System.ServiceModel.Channels.IChannelFactory<TChannel> BuildChannelFactory<TChannel> (System.ServiceModel.Channels.BindingContext context);
override this.BuildChannelFactory : System.ServiceModel.Channels.BindingContext -> System.ServiceModel.Channels.IChannelFactory<'Channel>
Public Overrides Function BuildChannelFactory(Of TChannel) (context As BindingContext) As IChannelFactory(Of TChannel)

型パラメーター

TChannel

チャネルの種類。

パラメーター

context
BindingContext

バインディング、動作、コントラクト、およびチャネル ファクトリの作成に必要なその他の情報を記述する BindingContext メンバー。

戻り値

トランスポート バインド要素で設定されている値に基づいて構成された、指定した種類のチャネル ファクトリ。

例外

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

注釈

トランスポート バインド要素で設定されている値に基づいて構成されたチャネル ファクトリを返します。

適用対象