DiscoveryClientBindingElement.CanBuildChannelFactory<TChannel> メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
現在のバインディングがクライアントでチャネル ファクトリ スタックを構築できるかどうかを示す値を返します。
public:
generic <typename TChannel>
override bool CanBuildChannelFactory(System::ServiceModel::Channels::BindingContext ^ context);
public override bool CanBuildChannelFactory<TChannel>(System.ServiceModel.Channels.BindingContext context);
override this.CanBuildChannelFactory : System.ServiceModel.Channels.BindingContext -> bool
Public Overrides Function CanBuildChannelFactory(Of TChannel) (context As BindingContext) As Boolean
型パラメーター
- TChannel
ファクトリがテストされているチャネルの種類。
パラメーター
- context
- BindingContext
バインディング コンテキスト。
返品
true 指定されたチャネル ファクトリ スタックをクライアント上に構築できる場合。それ以外の場合は false。