Rolls back the ITransaction by calling the method Rollback on the underlying IDbTransaction.

Namespace:  NHibernate.Transaction
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Sub Rollback
C#
public void Rollback()
Visual C++
public:
virtual void Rollback() sealed
JavaScript
function rollback();

Implements

ITransaction..::.Rollback()()()

Exceptions

ExceptionCondition
NHibernate..::.TransactionException Thrown if there is any exception while trying to call Rollback() on the underlying IDbTransaction.

See Also