Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractPlatformTransactionManager.Rollback Method

Roll back the given transaction, with regard to its status.

[Visual Basic]
Public NotOverridable Sub Rollback( _
   ByVal transactionStatus As ITransactionStatus _
) _
    Implements IPlatformTransactionManager.Rollback
[C#]
public void Rollback(
   ITransactionStatus transactionStatus
);

Parameters

transactionStatus
ITransactionStatusObject returned by the GetTransaction() method.

Implements

IPlatformTransactionManager.Rollback

Remarks

This implementation handles participating in existing transactions.

Delegates to DoRollback, and DoSetRollbackOnly.

If the transaction wasn't a new one, just set it rollback-only to take part in the surrounding transaction properly.

Exceptions

Exception Type Condition
TransactionException In case of system errors.

See Also

AbstractPlatformTransactionManager Class | Spring.Transaction.Support Namespace