Class
HtmlRtfConversionLimitException
OfficeIMO.Html
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
- Stable diagnostic code associated with the limit.
- message string
- Human-readable message.
- source string
- Configured limit or resource source that was exceeded.
- actual long
- Observed value.
- limit long
- Configured limit.
- detail string? = null
- Optional formatted detail.
Inherited Methods
public virtual void GetObjectData(SerializationInfo info, StreamingContext context) #Inherited from Exception
Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}") EditorBrowsable(1)Parameters
- info SerializationInfo
- context StreamingContext
Properties
Inherited Properties
public MethodBase? TargetSite { get; } #Inherited from Exception
public virtual string Message { get; } #Inherited from Exception
public virtual IDictionary Data { get; } #Inherited from Exception
public Exception? InnerException { get; } #Inherited from Exception
public virtual string? HelpLink { get; set; } #Inherited from Exception
public virtual string? Source { get; set; } #Inherited from Exception
public int HResult { get; set; } #Inherited from Exception
public virtual string? StackTrace { get; } #Inherited from Exception