ChannelFactory.CreateFactory Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Builds the channel factory for the current endpoint of the factory.
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
Returns
An IChannelFactory for the endpoint of the current factory.
Exceptions
The endpoint of the service that the factory channels connect to is null
or the endpoint's binding is null
or is missing the element with the configuration name specified.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.