SessionFactoryUtils.IsDeferredCloseActive Method
Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SessionFactoryUtils.IsDeferredCloseActive Method

Return if deferred close is active for the current thread and the given SessionFactory.

[Visual Basic]
Public Shared Sub IsDeferredCloseActive( _
   ByVal sessionFactory As ISessionFactory _
public static bool IsDeferredCloseActive(
   ISessionFactory sessionFactory


The session factory.

Return Value

true if [is deferred close active] [the specified session factory]; otherwise, false.


Exception Type Condition
ArgumentNullException If SessionFactory argument is null.

See Also

SessionFactoryUtils Class | Spring.Data.NHibernate Namespace