Class
HtmlConversionException
OfficeIMO.Html
Thrown when an HTML conversion cannot satisfy its requested semantic contract.
Inheritance
- OfficeConversionException
- HtmlConversionException
Constructors
public HtmlConversionException(IEnumerable<HtmlDiagnostic> diagnostics) #Creates an exception from structured conversion diagnostics.
Parameters
- diagnostics System.Collections.Generic.IEnumerable<OfficeIMO.Html.HtmlDiagnostic>
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
public IReadOnlyList<HtmlDiagnostic> Diagnostics { get; } #Diagnostics that caused the conversion to fail.
Inherited Properties
public OfficeConversionReport Report { get; } #Inherited from OfficeConversionException
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