Skip to main content
.NET 8.0+

Session.AfterCommitTransaction Event

Occurs after a transaction has been completed via the COMMIT operation.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v25.2.dll

NuGet Package: DevExpress.Xpo

Declaration

public event SessionManipulationEventHandler AfterCommitTransaction

Event Data

The AfterCommitTransaction event's data class is SessionManipulationEventArgs. The following properties provide information specific to this event:

Property Description
Session Gets the session currently being processed.

Remarks

The AfterCommitTransaction event is raised after a transaction has been completed via the COMMIT operation (Session.CommitTransaction, Session.CommitTransactionAsync, ExplicitUnitOfWork.CommitTransaction, or ExplicitUnitOfWork.CommitTransactionAsync). The event parameter’s SessionManipulationEventArgs.Session property allows the processed session to be identified.

When a transaction is about to be completed via the COMMIT operation, the Session.BeforeCommitTransaction event is raised.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AfterCommitTransaction event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also