次の方法で共有


NetMessagingTransportBindingElement.CanBuildChannelListener<T> メソッド

定義

チャネル リスナー 'context' を構築できる場合は、クエリを実行します。

public override bool CanBuildChannelListener<T> (System.ServiceModel.Channels.BindingContext context) where T : class, System.ServiceModel.Channels.IChannel;
override this.CanBuildChannelListener : System.ServiceModel.Channels.BindingContext -> bool (requires 'T : null and 'T :> System.ServiceModel.Channels.IChannel)
Public Overrides Function CanBuildChannelListener(Of T As {Class, IChannel}) (context As BindingContext) As Boolean

型パラメーター

T

ジェネリック型パラメーター。

パラメーター

context
BindingContext

バインド コンテキスト。

戻り値

バインド要素が特定の種類のチャネルのチャネル リスナーを構築できるかどうかを示す値を返します。

例外

引数 null の場合にスローされます。

適用対象