UdpTransportBindingElement.CanBuildChannelFactory<TChannel> メソッド

定義

バインディング要素が特定の種類のチャネルのチャネル ファクトリを構築できるかどうかを示す値を返します。

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

バインド要素のコンテキストを提供する BindingContext

返品

true IChannelFactory<TChannel>型のTChannelをバインド要素でビルドできる場合は。それ以外の場合はfalse

適用対象