Class
WordConversionException
OfficeIMO.Word
Represents errors that occur during document conversion processes.
Inheritance
- Exception
- WordConversionException
Constructors
WordConversionException 3 overloads
public WordConversionException() #Initializes a new instance of the WordConversionException class.
public WordConversionException(string message) #Initializes a new instance of the WordConversionException class with a specified error message.
Parameters
- message string
- The message that describes the error.
public WordConversionException(string message, Exception innerException) #Initializes a new instance of the WordConversionException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Parameters
- message string
- The error message that explains the reason for the exception.
- innerException System.Exception
- The exception that is the cause of the current exception.
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
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