Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

MessageQueueTransactionManager.DoSetRollbackOnly Method

Set the given transaction rollback-only. Only called on rollback if the current transaction takes part in an existing one.

[Visual Basic]
Protected Overrides Sub DoSetRollbackOnly( _
   ByVal status As DefaultTransactionStatus _
)
[C#]
protected override void DoSetRollbackOnly(
   DefaultTransactionStatus status
);

Parameters

status
The status representation of the transaction.

Remarks

Default implementation throws an IllegalTransactionStateException, assuming that participating in existing transactions is generally not supported. Subclasses are of course encouraged to provide such support.

Exceptions

Exception Type Condition
TransactionException In the case of system errors.

See Also

MessageQueueTransactionManager Class | Spring.Messaging.Core Namespace