Leadtools.Twain Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
TwainException Constructor
See Also 
Leadtools.Twain Namespace > TwainException Class : 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).

Overload List

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

Example

For an example, refer to TwainException

Requirements

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

See Also