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

目前處理站之端點的 IChannelFactory

例外狀況

處理站通道所連接的服務端點是 null,或是端點的繫結是 null 或遺失具有指定組態名稱的項目。

適用於