WebConfigurationManager Class

 

Provides access to configuration files for Web applications.

Namespace:   Microsoft.Web.Administration
Assembly:  Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)

System.Object
  Microsoft.Web.Administration.WebConfigurationManager

[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, 
	Level = AspNetHostingPermissionLevel.Minimal)]
public static class WebConfigurationManager

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGetSection(HttpContext, String)

Retrieves the specified configuration section from the application's configuration file in relationship to the specified context.

System_CAPS_pubmethodSystem_CAPS_staticGetSection(HttpContext, String, Type)

Retrieves the specified configuration section by using the specified configuration section type from the application's configuration file in relationship to the specified context.

System_CAPS_pubmethodSystem_CAPS_staticGetSection(String)

Retrieves the specified configuration section from the current application's configuration file.

System_CAPS_pubmethodSystem_CAPS_staticGetSection(String, String, String)

Retrieves the specified configuration section by using the Web site name, virtual path, and section path.

System_CAPS_pubmethodSystem_CAPS_staticGetSection(String, String, String, Type)

Retrieves the specified configuration section by using the Web site name, virtual path, section path, and run-time type.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: