Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

TransactionSynchronizationAdapter.AfterCompletion Method

Invoked after transaction commit/rollback.

[Visual Basic]
Public Overridable Sub AfterCompletion( _
   ByVal status As TransactionSynchronizationStatus _
) _
    Implements ITransactionSynchronization.AfterCompletion
[C#]
public virtual 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

TransactionSynchronizationAdapter Class | Spring.Transaction.Support Namespace