SessionOperationFailEventArgs.Exception Property
In This Article
Gets the exception thrown by a database when committing a transaction or changes made to persistent objects.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.2.dll
#Declaration
#Remarks
The Session.FailedCommitTransaction or Session.FailedFlushChanges event is raised when a database throws an exception when an operation fails, due to database constraints or other circumstances. Use the Exception property to get the exception’s details. To specify whether the exception is handled, use the SessionOperationFailEventArgs.Handled property.
See Also