Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractPlatformTransactionManager.RollbackOnCommitFailure Property

Sets and gets a flag that determines whether or not the DoRollback method must be invoked if a call to the DoCommit method fails. Default is false.

[Visual Basic]
Public Property RollbackOnCommitFailure() As Boolean
   Public Get
   End Get
   Public Set
   End Set
End Property
public bool RollbackOnCommitFailure { public get; public set; }


Typically not necessary and thus to be avoided as it can override the commit exception with a subsequent rollback exception.

See Also

AbstractPlatformTransactionManager Class | Spring.Transaction.Support Namespace