Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

DelegatingTransactionAttributeWithName.RollbackOn Method

Decides if rollback is required for the supplied exception.

[Visual Basic]
Public NotOverridable Sub RollbackOn( _
   ByVal exception As Exception _
) _
    Implements ITransactionAttribute.RollbackOn
[C#]
public bool RollbackOn(
   Exception exception
);

Parameters

exception
The Exception to evaluate.

Return Value

True if the exception causes a rollback, false otherwise.

Implements

ITransactionAttribute.RollbackOn

See Also

DelegatingTransactionAttributeWithName Class | Spring.Transaction.Interceptor Namespace