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
[C#]
public Type[] RollbackFor { public get; public set; }

Property Value

The rollback types.

Remarks

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

See Also

TransactionAttribute Class | Spring.Transaction.Interceptor Namespace