Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

TransactionAttribute.RollbackFor Property

Gets or sets the zero or more exception types which indicating which exception types must cause a transaction rollback.

[Visual Basic]
Public Property RollbackFor() As Type
   Public Get
   End Get
   Public Set
   End Set
End Property
public Type[] RollbackFor { public get; public set; }

Property Value

The rollback types.


This is the preferred way to construct a rollback rule, matching the exception class and subclasses.

See Also

TransactionAttribute Class | Spring.Transaction.Interceptor Namespace