API Reference
Class
HtmlRtfConversionLimitException
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, Int64 actual, Int64 limit, String detail = null) #Creates a conversion limit exception.
Parameters
- code System.String
- Stable diagnostic code associated with the limit.
- message System.String
- Human-readable message.
- source System.String
- Configured limit or resource source that was exceeded.
- actual System.Int64
- Observed value.
- limit System.Int64
- Configured limit.
- detail System.String = null
- Optional formatted detail.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
public override Void GetObjectData(SerializationInfo info, StreamingContext context) #Returns:
VoidInherited 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
public String Code { get; } #Stable diagnostic code associated with the limit.
public String LimitSource { get; } #Configured limit or resource source that was exceeded.
public Int64 Actual { get; } #Observed value.
public Int64 Limit { get; } #Configured limit.
public String Detail { get; } #Optional formatted detail.
Inherited Properties
public MethodBase TargetSite { get; } #Inherited from Exception
public override String Message { get; } #Inherited from Exception
public override IDictionary Data { get; } #Inherited from Exception
public Exception InnerException { get; } #Inherited from Exception
public override String HelpLink { get; set; } #Inherited from Exception
public override String Source { get; set; } #Inherited from Exception
public Int32 HResult { get; set; } #Inherited from Exception
public override String StackTrace { get; } #Inherited from Exception