Rolls back the transaction group, which effectively undoes all transactions committed inside the group.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 18.0.0.0 (18.2.0.13)
Since:
2011
Syntax
Return Value
If finished successfully, this method returns TransactionStatus.RolledBack.
Remarks
Exceptions
Exception | Condition |
---|
Autodesk.Revit.Exceptions..::..InvalidOperationException |
The Transaction group has not been started (its status is not 'Started')..
-or-
The transaction's document is currently in failure mode.
Transaction groups cannot be closed until failure handling is finished.
You may use a transaction finalizer to close a group after the failure handling ends.
|
See Also