←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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Twain Assembly