Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

TransactionAttribute.NoRollbackFor Property

Gets or sets zero or more exceptions types which indicationg which exception type must not cause a transaction rollback.

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

Property Value

The no rollback for.

Remarks

This is the preferred way to construct a rollback rule, matching the exception type.

See Also

TransactionAttribute Class | Spring.Transaction.Interceptor Namespace