Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

RuleBasedTransactionAttribute Class

ITransactionAttribute implementation that works out whether a given exception should cause transaction rollback by applying a number of rollback rules, both positive and negative.

For a list of all members of this type, see RuleBasedTransactionAttribute Members .

System.Object
   DefaultTransactionDefinition
      DefaultTransactionAttribute
         RuleBasedTransactionAttribute

[Visual Basic]
Public Class RuleBasedTransactionAttribute
    Inherits DefaultTransactionAttribute
[C#]
public class RuleBasedTransactionAttribute : DefaultTransactionAttribute

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

If no rules are relevant to the exception, it behaves like the DefaultTransactionAttribute class (rolling back on runtime exceptions)..

The TransactionAttributeEditor creates objects of this class.

Requirements

Namespace: Spring.Transaction.Interceptor

Assembly: Spring.Data (in Spring.Data.dll)

See Also

RuleBasedTransactionAttribute Members | Spring.Transaction.Interceptor Namespace