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

戻り値

指定した種類の新しいチャネル ファクトリを格納する IChannelFactory

注釈

このメソッドを使用すると、トランスポート バインド要素の構成に基づいてメッセージを送信するためのチャネル ファクトリを取得できます。

適用対象