ServiceHostBase.LoadConfigurationSection(ServiceElement) Méthode

Définition

Charge l'élément de service à partir du fichier de configuration du service hébergé.Loads the service element from the configuration file of the hosted service.

protected:
 void LoadConfigurationSection(System::ServiceModel::Configuration::ServiceElement ^ serviceSection);
protected void LoadConfigurationSection (System.ServiceModel.Configuration.ServiceElement serviceSection);
member this.LoadConfigurationSection : System.ServiceModel.Configuration.ServiceElement -> unit
Protected Sub LoadConfigurationSection (serviceSection As ServiceElement)

Paramètres

serviceSection
ServiceElement

ServiceElement à charger depuis la configuration.The ServiceElement to be loaded from configuration.

Exceptions

serviceSection a la valeur null.serviceSection is null.

La description du service hébergé a la valeur null.The description of the service hosted is null.

S’applique à