Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IPlatformTransactionManager.Rollback Method

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

[Visual Basic]
Public Sub Rollback( _
   ByVal transactionStatus As ITransactionStatus _
)
[C#]
void Rollback(
   ITransactionStatus transactionStatus
);

Parameters

transactionStatus
The ITransactionStatus instance returned by the GetTransaction() method.

Remarks

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

IPlatformTransactionManager Interface | Spring.Transaction Namespace