←Select platform

TwainException Constructor

Summary

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 List
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).

Requirements

Target Platforms

Help Version 20.0.2019.9.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Twain Assembly