次の方法で共有


NetMessagingTransportBindingElement.BuildChannelFactory<TChannel> メソッド

定義

チャネル ファクトリを構築します。

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

バインド コンテキスト。

戻り値

IChannelFactory<TChannel>

チャネル ファクトリによって実装されるインターフェイス。

例外

TChannel がサポートされているチャネルの種類でない場合にスローされます

コンテキストが null の場合にスローされます。

適用対象