Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

HtmlRtfConversionLimitException

OfficeIMO.Html

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

Thrown when HTML/RTF conversion input exceeds a configured safety or resource limit.

Inheritance

  • InvalidOperationException
  • HtmlRtfConversionLimitException

Constructors

public HtmlRtfConversionLimitException(string code, string message, string source, long actual, long limit, string? detail = null) #

Creates a conversion limit exception.

Parameters

code string required
Stable diagnostic code associated with the limit.
message string required
Human-readable message.
source string required
Configured limit or resource source that was exceeded.
actual long required
Observed value.
limit long required
Configured limit.
detail string? = null optional
Optional formatted detail.

Properties

public string Code { get; } #

Stable diagnostic code associated with the limit.

public string LimitSource { get; } #

Configured limit or resource source that was exceeded.

public long Actual { get; } #

Observed value.

public long Limit { get; } #

Configured limit.

public string? Detail { get; } #

Optional formatted detail.