ChannelFactory.CreateFactory 方法
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建置處理站之目前端點的通道處理站。
protected:
virtual System::ServiceModel::Channels::IChannelFactory ^ CreateFactory();
C#
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
或遺失具有指定組態名稱的項目。
產品 | 版本 |
---|---|
.NET | Core 1.0, Core 1.1 |
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 |
UWP | 10.0 |