Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ServiceHostBase::LoadConfigurationSection Method (ServiceElement^)

 

Loads the service element from the configuration file of the hosted service.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

protected:
void LoadConfigurationSection(
	ServiceElement^ serviceSection
)

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
Return to top
Show:
© 2017 Microsoft