RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Transaction

Transaction.HasEnded

Method
Description:
Determines whether the transaction has ended already.
Remarks:
A transaction is ended by completing either the 'Commit' or 'RollBack' method. Another way of testing whether a transaction has ended is by testing the current status (see GetStatus()). It must be either 'TransactionStatus.Committed' or 'TransactionStatus.RolledBack'
Syntax
public bool HasEnded()