StandardEndpointsSection::GetSection Method (Configuration^)

.NET Framework (current version)
 

Returns the standard endpoints section from the specified configuration file.

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

public:
static StandardEndpointsSection^ GetSection(
	Configuration^ config
)

Parameters

config
Type: System.Configuration::Configuration^

An object that contains one or more XML sections of configuration settings.

Return Value

Type: System.ServiceModel.Configuration::StandardEndpointsSection^

A standard endpoints configuration section.

Exception Condition
ArgumentNullException

config is null.

.NET Framework
Available since 4.0
Return to top
Show: