Share

FailuresAccessor.CanRollBackPendingTransaction Method

Checks if pending failure processing can be finished by rolling back a pending transaction.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public bool CanRollBackPendingTransaction()

Return Value

Boolean
True if there is a pending transaction and this transaction is allowed to be rolled back

Exceptions

ExceptionCondition
InvalidOperationException This FailuresAccessor is inactive (is used outside of failures processing).

Remarks

Check makes sense only if the failure processing is pending.

See Also

Reference

Was this information helpful?