Leadtools.Twain Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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 Enum
Visual Basic (Usage)Copy Code
Dim instance As TwainExceptionCode
C# 
public enum TwainExceptionCode : Enum 
C++/CLI 
public enum class TwainExceptionCode : public Enum 

Members

MemberDescription
StopScan The feeder is stopped by the user
CheckDeviceOnline The device has been powered off
FileWriteError Error writing to the specified file
PaperDoubleFeed Transfer failed because of a feeder error
PaperJam Transfer failed because of a feeder error
NotEmpty Directory is not empty and can not be deleted
FileNotFound Input file name not found or output file name invalid
FileExists Specified output file name already exists
Denied Operation denied (device not ready)
CustomBase Custom return code base
InvalidAccessRight Invalid access right to file
NotValidFile Invalid file
ReadFromFile Error reading from file
InvalidVersionNumber Invalid version number
WriteToFile Error trying write to a file
InvalidHandle Invalid handle was passed
OpenFile Can't open required file
CapabilityNegotiationNotEnded Capability negotiation ended before the current operation
InvalidState TWAIN source state is not valid for the required operation
BadValue Invalid capability value
SourceNotOpen TWAIN source not being open
CapabilityNotSupported Required capability not supported
EndOfList End of the enumeration list
CheckStatus An error in the status of the TWAIN source
NotInitialized TWAIN source not initialized
InvalidDll Invalid DLL
Cancel Operation was cancelled
BadProtocol Unrecognized MSG DG DAT combination
OperationError DS or DSM reported error, app shouldn't (no need for your app to report the error
MaxConnections Data source is connected to maximum possible applications
NoDataSource No Data Sourc
LowMemory Not enough memory to perform operation
FailureUnknown Failure due to unknown cause
NoTwainLibrary No Twain Library
CapabilityBadOperation Operation not supported by capability
CapabilitySequenceError Capability has dependency on other capability

Inheritance Hierarchy

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

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