WebServicesSection::GetSection Method (Configuration^)
.NET Framework (current version)
Retrieves the specified configuration section.
Assembly: System.Web.Services (in System.Web.Services.dll)
public: [ConfigurationPermissionAttribute(SecurityAction::Assert, Unrestricted = true)] 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
Available since 2.0
Show: