←Select platform

TwainExceptionCode Enumeration

Summary
Used as a value for TwainException.Code property.

Syntax
C#
C++/CLI
Python
public enum TwainExceptionCode   
public enum class TwainExceptionCode   
class TwainExceptionCode(Enum): 
   CapabilitySequenceError = -589 
   CapabilityBadOperation = -588 
   StopScan = -587 
   CheckDeviceOnline = -586 
   FileWriteError = -585 
   PaperDoubleFeed = -584 
   PaperJam = -583 
   NotEmpty = -582 
   FileNotFound = -581 
   FileExists = -580 
   Denied = -579 
   CustomBase = -578 
   InvalidAccessRight = -577 
   NotValidFile = -576 
   ReadFromFile = -575 
   InvalidVersionNumber = -574 
   WriteToFile = -573 
   InvalidHandle = -572 
   OpenFile = -571 
   CapabilityNegotiationNotEnded = -570 
   InvalidState = -569 
   BadValue = -568 
   SourceNotOpen = -567 
   CapabilityNotSupported = -566 
   EndOfList = -565 
   CheckStatus = -564 
   NotInitialized = -562 
   InvalidDll = -561 
   NoTwainLibrary = -560 
   Cancel = -90 
   BadProtocol = -86 
   OperationError = -84 
   MaxConnections = -83 
   NoDataSource = -82 
   LowMemory = -81 
   FailureUnknown = -80 
Members
ValueMemberDescription
-589CapabilitySequenceError Capability has dependency on other capability
-588CapabilityBadOperation Operation not supported by capability
-587StopScan The feeder is stopped by the user
-586CheckDeviceOnline The device has been powered off
-585FileWriteError Error writing to the specified file
-584PaperDoubleFeed Transfer failed because of a feeder error
-583PaperJam Transfer failed because of a feeder error
-582NotEmpty Directory is not empty and can not be deleted
-581FileNotFound Input file name not found or output file name invalid
-580FileExists Specified output file name already exists
-579Denied Operation denied (device not ready)
-578CustomBase Custom return code base
-577InvalidAccessRight Invalid access right to file
-576NotValidFile Invalid file
-575ReadFromFile Error reading from file
-574InvalidVersionNumber Invalid version number
-573WriteToFile Error trying write to a file
-572InvalidHandle Invalid handle was passed
-571OpenFile Can't open required file
-570CapabilityNegotiationNotEnded Capability negotiation ended before the current operation
-569InvalidState TWAIN source state is not valid for the required operation
-568BadValue Invalid capability value
-567SourceNotOpen TWAIN source not being open
-566CapabilityNotSupported Required capability not supported
-565EndOfList End of the enumeration list
-564CheckStatus An error in the status of the TWAIN source
-562NotInitialized TWAIN source not initialized
-561InvalidDll Invalid DLL
-560NoTwainLibrary No Twain Library
-90Cancel Operation was cancelled
-86BadProtocol Unrecognized MSG DG DAT combination
-84OperationError Source or Source Manager reported an error to the user and handled the error; no application action required.
-83MaxConnections Data source is connected to maximum possible applications
-82NoDataSource No Data Source
-81LowMemory Not enough memory to perform operation
-80FailureUnknown Failure due to unknown cause
Requirements

Target Platforms

See Also

Reference

Leadtools.Twain Namespace

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

Leadtools.Twain Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.