See Also: CustomErrorsSection Members
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.
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.