Cancels all pending transfers.
Namespace: Dynamsoft.DotNet.TWAINAssembly: DynamicDotNetTWAIN (in DynamicDotNetTWAIN.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax
| C# |
|---|
public bool CancelAllPendingTransfers() |
| Visual Basic |
|---|
Public Function CancelAllPendingTransfers As Boolean |
Return Value
True indicates success. False indicates failure.
Remarks
The CancelAllPendingTransfers method is valid only in OnPreAllTransfers,
OnPreTransfer and OnPostTransfer events.
Exceptions
| Exception | Condition |
|---|---|
| Dynamsoft.DotNet.TWAIN..::..TwainException | When an error occurs and IfThrowException property is true, an exception will be thrown. When IfThrowException property is false, please check ErrorCode and ErrorString. |