Determine whether the session is closed. Provided separately from {@link #isOpen()} as this method does not attempt any JTA synch registration, where as {@link #isOpen()} does; which makes this one nicer to use for most internal purposes.

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

Syntax

C#
bool IsClosed { get; }
Visual Basic
ReadOnly Property IsClosed As Boolean
	Get
Visual C++
property bool IsClosed {
	bool get ();
}

Return Value

True if the session is closed; false otherwise.

See Also