Session.AfterRollbackTransaction Event
Occurs after a transaction has been completed via the ROLLBACK operation.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v25.2.dll
NuGet Package: DevExpress.Xpo
Declaration
Event Data
The AfterRollbackTransaction 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 AfterRollbackTransaction event is raised after a transaction has been completed via the ROLLBACK operation (Session.RollbackTransaction or ExplicitUnitOfWork.RollbackTransaction). The event parameter’s SessionManipulationEventArgs.Session property allows the processed session to be identified.
When a transaction is about to be completed via the ROLLBACK operation, the Session.BeforeRollbackTransaction event is raised.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AfterRollbackTransaction 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.