Initializes a new instance of the TwainException class with its Message string set to the default message that corresponds to code and its inner exception set to a null reference (Nothing in VB).
Overload | Description |
---|---|
TwainException() | Initializes a new instance of the TwainException class with its Message string set to the empty string (""), its Code set to TwainExceptionCode.NotInitialized.and its inner exception set to a null reference (Nothing in VB). |
TwainException(SerializationInfo,StreamingContext) | Initializes a new instance of the TwainException class with the specified serialization and context information. |
TwainException(string) | Initializes a new instance of the TwainException class with its Message string set to message, its Code set to TwainExceptionCode.NotInitialized and its inner exception set to a null reference (Nothing in VB). |
TwainException(string,Exception) | Initializes a new instance of the TwainException class with a specified error message, its Code set to TwainExceptionCode.NotInitialized and a reference to the inner exception that is the cause of this exception. |
TwainException(string,TwainExceptionCode) | Initializes a new instance of the TwainException class with its Message string set to message, its Code set to code and its inner exception set to a null reference (Nothing in VB). |
TwainException(TwainExceptionCode) | Initializes a new instance of the TwainException class with its Message string set to the default message that corresponds to code and its inner exception set to a null reference (Nothing in VB). |