The following tables list the members exposed by TwainException.
| Name | Description | |
|---|---|---|
|  | TwainException | 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). | 
| Name | Description | |
|---|---|---|
|    | GetCodeMessage | Gets the error string that corresponds to a specific TwainExceptionCode | 
|  | GetObjectData | Populates a specified SerializationInfo with the data needed to serialize this object. | 
|    | SetCodeMessage | Sets the error string that corresponds to a specific TwainExceptionCode | 
| Name | Description | |
|---|---|---|
|  | Code | Gets or sets the code that caused this exception. | 
|  | Message | Gets a message that describes the current exception. | 
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
