Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

TransactionSynchronizationAdapter.BeforeCompletion Method

Invoked before transaction commit/rollback (after BeforeCommit, even if BeforeCommit threw an exception).

[Visual Basic]
Public Overridable Sub BeforeCompletion() _
    Implements ITransactionSynchronization.BeforeCompletion
[C#]
public virtual void BeforeCompletion();

Implements

ITransactionSynchronization.BeforeCompletion

Remarks

Can e.g. perform resource cleanup.

Note that exceptions will get propagated to the commit caller and cause a rollback of the transaction.

See Also

TransactionSynchronizationAdapter Class | Spring.Transaction.Support Namespace