Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

RtfReadLimitException

Namespace OfficeIMO.Rtf
Assembly OfficeIMO.Rtf
Base InvalidOperationException
Implements
ISerializable
Modifiers sealed

Thrown when an RTF input exceeds a configured resource limit.

Inheritance

  • InvalidOperationException
  • RtfReadLimitException

Constructors

public RtfReadLimitException(String code, String message, String limitSource, Int64 actual, Int64 limit, Int32 position = -1) #

Initializes a new resource-limit exception.

Parameters

code System.String requiredposition: 0
message System.String requiredposition: 1
limitSource System.String requiredposition: 2
actual System.Int64 requiredposition: 3
limit System.Int64 requiredposition: 4
position System.Int32 = -1 optionalposition: 5

Properties

public String Code { get; } #

Stable machine-readable limit code.

public String LimitSource { get; } #

Name of the RtfReadOptions property that supplied the limit.

public Int64 Actual { get; } #

Observed or declared value that exceeded the limit.

public Int32 Position { get; } #

Zero-based source position, or -1 when unavailable.