ChannelFactory.CreateFactory メソッド

定義

ファクトリの現在のエンドポイントのチャネル ファクトリをビルドします。

protected:
 virtual System::ServiceModel::Channels::IChannelFactory ^ CreateFactory();
protected virtual System.ServiceModel.Channels.IChannelFactory CreateFactory();
abstract member CreateFactory : unit -> System.ServiceModel.Channels.IChannelFactory
override this.CreateFactory : unit -> System.ServiceModel.Channels.IChannelFactory
Protected Overridable Function CreateFactory () As IChannelFactory

返品

現在のファクトリのエンドポイントの IChannelFactory

例外

ファクトリ チャネルが接続するサービスのエンドポイントが null されているか、エンドポイントのバインドが null されているか、構成名が指定された要素がありません。

適用対象