HtmlParserLimitExceededException Class

The exception thrown by the HtmlDocumentParser when the markup exceeds a limit of the HtmlParserOptions, such as HtmlParserOptions.MaxElementCount.

public sealed class HtmlParserLimitExceededException : Exception
Inheritance
Exception HtmlParserLimitExceededException

Constructors

NameDescription
HtmlParserLimitExceededException()Initializes a new instance of the HtmlParserLimitExceededException class.
HtmlParserLimitExceededException(string)Initializes a new instance of the HtmlParserLimitExceededException class with a message.
HtmlParserLimitExceededException(string, Exception)Initializes a new instance of the HtmlParserLimitExceededException class with a message and the exception that caused it.

HtmlParserLimitExceededException overloads

HtmlParserLimitExceededException()

HtmlParserLimitExceededException.cs

Initializes a new instance of the HtmlParserLimitExceededException class.

public HtmlParserLimitExceededException()

HtmlParserLimitExceededException(string)

HtmlParserLimitExceededException.cs

Initializes a new instance of the HtmlParserLimitExceededException class with a message.

public HtmlParserLimitExceededException(string message)
Parameters
message string

HtmlParserLimitExceededException(string, Exception)

HtmlParserLimitExceededException.cs

Initializes a new instance of the HtmlParserLimitExceededException class with a message and the exception that caused it.

public HtmlParserLimitExceededException(string message, Exception innerException)
Parameters
message string
innerException Exception