ChannelFactory.CreateFactory ChannelFactory.CreateFactory ChannelFactory.CreateFactory ChannelFactory.CreateFactory Method

Définition

Génère la fabrique de canal pour le point de terminaison actif de la fabrique.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

Retours

IChannelFactory pour le point de terminaison de la fabrique active.An IChannelFactory for the endpoint of the current factory.

Exceptions

Le point de terminaison du service auquel se connectent les canaux de la fabrique a la valeur null, la liaison du point de terminaison a la valeur null ou l'élément portant le nom de configuration spécifié est manquant.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.

S’applique à