RVTDocs.com

ProgressChangedEventArgs.Cancel

Method
Description:
Requests to cancel the progress bar's operation.
Remarks:
Note that an operation may only be cancelled if its stage is 'Unchanged' or if its stage is 'PositionChanged' and the 'Cancellable' property is 'true.'
Syntax
public void Cancel()
Exceptions
Exception Condition
InvalidOperationException The operation cannot be cancelled.