Share via


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

ファクトリが生成する IChannel

パラメーター

context
BindingContext

チャネル ファクトリの作成に必要なコンテキストを提供する BindingContext

戻り値

IChannelFactory<TChannel> 型の複合双方向チャネルを作成する TChannel

例外

contextnullです。

TChannel は、IOutputChannel 型ではなく、サポートされていません。

注釈

ビルド コンテキストには、IOutputChannel に対する TChannel が必要です。

適用対象