The TwainException type exposes the following members.

Constructors

  NameDescription
Public methodTwainException()()()()
Initializes a new instance of the TwainException class.
Public methodTwainException(String)
Initializes a new instance of the TwainException class with a specified error message.
Public methodTwainException(String, ErrorCode)
Initializes a new instance of the TwainException class with a specified error message and error code.

Properties

  NameDescription
Public propertyCode
Get and set DynamicDotNetTWAIN error code.
Public propertyMessage
Gets a message that describes the current exception.
(Overrides Exception..::..Message.)
Public propertyStackTrace
Gets a string representation of the frames on the call stack at the time the current exception was thrown.
(Overrides Exception..::..StackTrace.)

See Also