Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

HtmlDomLimitException

OfficeIMO.Html

Namespace
OfficeIMO.Html
Assembly
OfficeIMO.Html
Source revision
be6c300e4ab1 with working tree changes
Base
InvalidOperationException
Implements
ISerializable
Modifiers
sealed

Thrown when shared HTML DOM traversal exceeds configured safety limits.

Inheritance

  • InvalidOperationException
  • HtmlDomLimitException

Constructors

public HtmlDomLimitException(string code, string message, string source, long actual, long limit) #

Creates an HTML DOM traversal limit exception.

Parameters

code string required
Stable diagnostic code associated with the limit.
message string required
Human-readable message.
source string required
Configured limit source that was exceeded.
actual long required
Observed value.
limit long required
Configured limit.

Properties

public string Code { get; } #

Stable diagnostic code associated with the limit.

public string LimitSource { get; } #

Configured limit source that was exceeded.

public long Actual { get; } #

Observed value.

public long Limit { get; } #

Configured limit.

public string Detail { get; } #

Formatted detail containing the observed and configured values.