WebServicesSection.GetSection Method (Configuration)

 

Retrieves the specified configuration section.

Namespace:   System.Web.Services.Configuration
Assembly:  System.Web.Services (in System.Web.Services.dll)

[<ConfigurationPermissionAttribute(SecurityAction.Assert, Unrestricted = true)>]
static member GetSection : 
        config:Configuration -> WebServicesSection

Parameters

config
Type: System.Configuration.Configuration

A Configuration object that represents the section to be retrieved.

Return Value

Type: System.Web.Services.Configuration.WebServicesSection

A WebServicesSection object that represents the section being retrieved.

Exception Condition
ArgumentNullException

config is null.

.NET Framework
Available since 2.0
Return to top
Show: