Overload | Description |
---|---|
TwainException Constructor() | 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 Visual Basic). |
TwainException Constructor(SerializationInfo,StreamingContext) | Initializes a new instance of the TwainException class with the specified serialization and context information. |
TwainException Constructor(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 Visual Basic). |
TwainException Constructor(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 Constructor(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 Visual Basic). |
TwainException Constructor(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 Visual Basic). |
For an example, refer to TwainException
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family