StandardEndpointsSection.GetSection(Configuration) Method

Definition

Returns the standard endpoints section from the specified configuration file.

public:
 static System::ServiceModel::Configuration::StandardEndpointsSection ^ GetSection(System::Configuration::Configuration ^ config);
public static System.ServiceModel.Configuration.StandardEndpointsSection GetSection (System.Configuration.Configuration config);
static member GetSection : System.Configuration.Configuration -> System.ServiceModel.Configuration.StandardEndpointsSection
Public Shared Function GetSection (config As Configuration) As StandardEndpointsSection

Parameters

config
Configuration

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

Returns

A standard endpoints configuration section.

Exceptions

config is null.

Applies to