System.Web.ParserErrorCollection Class

Manages a set of parser errors detected during parsing. This class cannot be inherited.

See Also: ParserErrorCollection Members

Syntax

public sealed class ParserErrorCollection : CollectionBase

Remarks

The System.Web.ParserErrorCollection class provides methods and properties that you can use to manage a collection of System.Web.ParserError objects. For example, you can add a set of parser errors to a collection upon parsing while using a custom System.Web.Compilation.BuildProvider object to report all parse exceptions caught during parsing.

To add parser errors to, remove them from, or locate them in a collection, use the following:

Additionally, you can use the System.Web.ParserErrorCollection class to do the following:

Requirements

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