Leadtools TWAIN (Leadtools.Twain assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
TwainExceptionCode Enumeration
See Also  
Leadtools.Twain Namespace : TwainExceptionCode Enumeration



Used as a value for TwainException.Code property.

Syntax

Visual Basic (Declaration) 
Public Enum TwainExceptionCode 
   Inherits System.Enum
   Implements IComparableIConvertibleIFormattable 
Visual Basic (Usage)Copy Code
Dim instance As TwainExceptionCode
C# 
public enum TwainExceptionCode : System.Enum, IComparableIConvertibleIFormattable  
C++/CLI 
public enum class TwainExceptionCode : public System.Enum, IComparableIConvertibleIFormattable  

Members

MemberDescription
BadProtocolUnrecognized MSG DG DAT combination
BadValueInvalid capability value
CancelOperation was cancelled
CapabilityBadOperationOperation not supported by capability
CapabilityNegotiationNotEndedCapability negotiation ended before the current operation
CapabilityNotSupportedRequired capability not supported
CapabilitySequenceErrorCapability has dependency on other capability
CheckDeviceOnlineThe device has been powered off
CheckStatusAn error in the status of the TWAIN source
CustomBaseCustom return code base
DeniedOperation denied (device not ready)
EndOfListEnd of the enumeration list
FailureUnknownFailure due to unknown cause
FileExistsSpecified output file name already exists
FileNotFoundInput file name not found or output file name invalid
FileWriteErrorError writing to the specified file
InvalidAccessRightInvalid access right to file
InvalidDllInvalid DLL
InvalidHandleInvalid handle was passed
InvalidStateTWAIN source state is not valid for the required operation
InvalidVersionNumberInvalid version number
LowMemoryNot enough memory to perform operation
MaxConnectionsData source is connected to maximum possible applications
NoDataSourceNo Data Sourc
NotEmptyDirectory is not empty and can not be deleted
NotInitializedTWAIN source not initialized
NotValidFileInvalid file
NoTwainLibraryNo Twain Library
OpenFileCan't open required file
OperationErrorDS or DSM reported error, app shouldn't (no need for your app to report the error
PaperDoubleFeedTransfer failed because of a feeder error
PaperJamTransfer failed because of a feeder error
ReadFromFileError reading from file
SourceNotOpenTWAIN source not being open
StopScanThe feeder is stopped by the user
WriteToFileError trying write to a file

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Twain.TwainExceptionCode

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also