Share

ProgressChangedEventArgs.Cancel Method

Requests to cancel the progress bar's operation.


Namespace: Autodesk.Revit.DB.Events
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)

Syntax

C#

public void Cancel()

Exceptions

ExceptionCondition
InvalidOperationException The operation cannot be cancelled.

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.'

See Also

Reference

Was this information helpful?