Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ConnectionSynchronization.AfterCompletion Method

Invoked after transaction commit/rollback.

[Visual Basic]
Public Overrides Sub AfterCompletion( _
   ByVal status As TransactionSynchronizationStatus _
) _
    Implements ITransactionSynchronization.AfterCompletion
[C#]
public override void AfterCompletion(
   TransactionSynchronizationStatus status
);

Parameters

status
Status according to TransactionSynchronizationStatus

Implements

ITransactionSynchronization.AfterCompletion

Remarks

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

ConnectionSynchronization Class | Spring.Data.Support Namespace