Gets a Boolean indicating if the transaction was rolled back.

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

Syntax

Visual Basic (Declaration)
Public ReadOnly Property WasRolledBack As Boolean
C#
public bool WasRolledBack { get; }
Visual C++
public:
virtual property bool WasRolledBack {
	bool get () sealed;
}
JavaScript
function get_wasRolledBack();

Field Value

trueTruetruetrue (True in Visual Basic) if the IDbTransaction had Rollback called without any exceptions.

Implements

ITransaction..::.WasRolledBack

See Also