WebServicesSection.GetSection Method (Configuration)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Retrieves the specified configuration section.

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

[ConfigurationPermissionAttribute(SecurityAction.Assert, Unrestricted = true)]
public static WebServicesSection GetSection(
	Configuration config
)

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: