Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

RollbackRuleAttribute Class

Rule determining whether or not a given exception (and any subclasses) should cause a rollback.

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

System.Object
   Attribute
      RollbackRuleAttribute
         NoRollbackRuleAttribute

[Visual Basic]
<Serializable> _
<AttributeUsage(ValidOn:=AttributeTargets.All, AllowMultiple:=False, Inherited:=True)> _
Public Class RollbackRuleAttribute
    Inherits Attribute
[C#]
[Serializable]
[AttributeUsage(ValidOn=AttributeTargets.All, AllowMultiple=False, Inherited=True)]
public class RollbackRuleAttribute : Attribute

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

Multiple such rules can be applied to determine whether a transaction should commit or rollback after an exception has been thrown.

Requirements

Namespace: Spring.Transaction.Interceptor

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

See Also

RollbackRuleAttribute Members | Spring.Transaction.Interceptor Namespace