WebServicesSection.GetSection Method (Configuration)
.NET Framework (current version)
Retrieves the specified configuration section.
Assembly: System.Web.Services (in System.Web.Services.dll)
<ConfigurationPermissionAttribute(SecurityAction.Assert, Unrestricted := True)> Public Shared Function GetSection ( config As Configuration ) As WebServicesSection
Parameters
- config
-
Type:
System.Configuration.Configuration
A Configuration object that represents the section to be retrieved.
Return Value
Type: System.Web.Services.Configuration.WebServicesSectionA WebServicesSection object that represents the section being retrieved.
| Exception | Condition |
|---|---|
| ArgumentNullException | config is null. |
.NET Framework
Available since 2.0
Available since 2.0
Show: