ServiceHostBase::LoadConfigurationSection Method (ServiceElement^)
.NET Framework (current version)
Loads the service element from the configuration file of the hosted service.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- serviceSection
-
Type:
System.ServiceModel.Configuration::ServiceElement^
The ServiceElement to be loaded from configuration.
| Exception | Condition |
|---|---|
| ArgumentNullException | serviceSection is null. |
| InvalidOperationException | The description of the service hosted is null. |
.NET Framework
Available since 3.0
Available since 3.0
Show: