Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ITransactionSynchronization.AfterCompletion Method

Invoked after transaction commit/rollback.

[Visual Basic]
Public Sub AfterCompletion( _
   ByVal status As TransactionSynchronizationStatus _
void AfterCompletion(
   TransactionSynchronizationStatus status


Status according to TransactionSynchronizationStatus


Can e.g. perform resource cleanup, in this case after transaction completion.

Note that exceptions will get propagated to the commit or rollback caller, although they will not influence the outcome of the transaction.

See Also

ITransactionSynchronization Interface | Spring.Transaction.Support Namespace