Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ConnectionSynchronization.BeforeCompletion Method

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

[Visual Basic]
Public Overrides Sub BeforeCompletion() _
    Implements ITransactionSynchronization.BeforeCompletion
[C#]
public override 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

ConnectionSynchronization Class | Spring.Data.Support Namespace