System.Web.ParserError Class

Represents a parser error or warning. This class cannot be inherited.

See Also: ParserError Members

Syntax

public sealed class ParserError

Remarks

A System.Web.ParserError object represents an error that is created when an System.Web.HttpParseException exception is thrown. A parser error object can contain error message text, a virtual path to the file where the error occurred, and the subsequent line number of the error in that file. If more than one parser error occurs or you want to store multiple parser errors in a centralized location, use the System.Web.ParserErrorCollection object.

A parser error is of the type System.Web.HttpException. For more information on exceptions and how to handle them, go to tp://go.microsoft.com/fwlink/?linkid=37118.

Requirements

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