Dynamsoft Home|Product Home

CancelAllPendingTransfers Method

Description

Cancels all pending transfers.

Syntax

Boolean ObjectName. CancelAllPendingTransfers()

Parameters

None.

Return value

Boolean.

TRUE indicates success. FALSE indicates failure.

When an error occurs and IfThrowException property is TRUE, an exception will be thrown.

When FALSE is returned or an exception is thrown, check ErrorCode property and ErrorString property for error information.

Remarks

The CancelAllPendingTransfers method is valid only in OnPreAllTransfers, OnPreTransfer and OnPostTransfer events.

See also

PendingXFERs property