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

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

Syntax

C#
public void Rollback()
Visual Basic
Public Sub Rollback
Visual C++
public:
virtual void Rollback() sealed

Implements

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

Exceptions

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

See Also