ProgressChangedEventArgs.Cancel
Method
Description:
Requests to cancel the progress bar's operation.
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.'
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.'
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | The operation cannot be cancelled. |