Language

ReliableSessionBindingElement.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型のチャネルを生成できるファクトリの構築に必要な情報を含むTChannel。

返品

IChannelFactory<TChannel>から初期化IChannel型のcontext。

例外

TChannel はサポートされません。

注釈

工場で生産される IChannel は TChannel型です。 クライアントでサポートされる TChannel の種類は、サービスに接続する基になるチャネルの種類によって異なります。 次の表は、基になるチャネルの関数としてサポートされている信頼できるセッション チャネルの種類を示しています。

基になるチャネルの種類による Reliable Session TChannel 型のサポート IRequestChannel IRequestSessionChannel IDuplexChannel IDuplexSessionChannel
IOutputSessionChannel はい はい はい はい
IRequestSessionChannel はい はい いいえ いいえ
IDuplexSessionChannel いいえ いいえ はい はい

適用対象