Class
OfficeConversionException
OfficeIMO
Raised when a conversion reports loss that the caller does not accept, or produces no usable value.
Inheritance
- InvalidOperationException
- OfficeConversionException
Remarks
Format-owned exceptions derive from this type and carry their typed failure evidence.
Constructors
public OfficeConversionException(string message, OfficeConversionReport report, Exception? innerException = null) #Creates an exception carrying the completed report.
Parameters
- message string
- report OfficeIMO.OfficeConversionReport
- innerException System.Exception? = null
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 OfficeConversionReport Report { get; } #Gets the report produced before the operation stopped.
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