System.Web.Configuration.CustomErrorCollection Class

Represents a collection of System.Web.Configuration.CustomError objects. This class cannot be inherited.

See Also: CustomErrorCollection Members

Syntax

[System.Configuration.ConfigurationCollection(typeof(System.Web.Configuration.CustomError), AddItemName="error", CollectionType=System.Configuration.ConfigurationElementCollectionType.BasicMap)]
public sealed class CustomErrorCollection : System.Configuration.ConfigurationElementCollection

Remarks

The System.Web.Configuration.CustomErrorCollection type allows access to the error elements of the customErrors section element collection.

It belongs to a group that includes the System.Web.Configuration.CustomError, System.Web.Configuration.CustomErrorsMode, and System.Web.Configuration.CustomErrorsSection.

Requirements

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