Initializes a new instance of the TwainException class with a specified error message and error code.
Namespace: Dynamsoft.DotNet.TWAINAssembly: DynamicDotNetTWAIN (in DynamicDotNetTWAIN.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax
| C# |
|---|
public TwainException( string strError, ErrorCode errCode ) |
| Visual Basic |
|---|
Public Sub New ( _ strError As String, _ errCode As ErrorCode _ ) |
Parameters
- strError
- Type: System..::..String
The message that describes the error.
- errCode
- Type: Dynamsoft.DotNet.TWAIN.Enums..::..ErrorCode
The error code.