ITransactionFinalizer Interface


ITransaction Finalizer Interface

An interface that may be used to perform a custom action at the end of a transaction. A method of the interface will be called when a transaction is either committed or rolled back.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public interface ITransactionFinalizer

The ITransactionFinalizer type exposes the following members.

Methods
Name Description
Public method OnCommitted This method is called at the end of committing a transaction
Public method OnRolledBack This method is called at the end of rolling back a transaction
Top
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →