System.Web.Configuration.CustomErrorsSection Class

Configures the ASP.NET custom errors. This class cannot be inherited.

See Also: CustomErrorsSection Members

Syntax

public sealed class CustomErrorsSection : System.Configuration.ConfigurationSection

Remarks

The System.Web.Configuration.CustomErrorsSection class provides a way to programmatically access and modify the customErrors section of a configuration file. This type is part of a group that includes the System.Web.Configuration.CustomErrorCollection, System.Web.Configuration.CustomErrorsMode, and System.Web.Configuration.CustomError types.

Note:

The System.Web.Configuration.CustomErrorsSection can read and write information from and to the related section of the configuration file according to the section property System.Configuration.SectionInformation.AllowDefinition whose value is System.Configuration.ConfigurationAllowDefinition.Everywhere.

Requirements

Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0