Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

TransactionAspectSupport.CompleteTransactionAfterThrowing Method

Handle a exception, closing out the transaction.

[Visual Basic]
Protected Sub CompleteTransactionAfterThrowing( _
   ByVal transactionInfo As TransactionInfo, _
   ByVal exception As Exception _
)
[C#]
protected void CompleteTransactionAfterThrowing(
   TransactionInfo transactionInfo,
   Exception exception
);

Parameters

transactionInfo
The TransactionAspectSupport.TransactionInfo about the current transaction.
exception
The Exception encountered.

Remarks

We may commit or roll back, depending on our configuration.

See Also

TransactionAspectSupport Class | Spring.Transaction.Interceptor Namespace