Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Extensions Namespace / SessionExtension Class / IsInvalid Method
The session
In This Topic
    IsInvalid Method
    In This Topic
    Determines if a session has an open transaction
    Syntax
    [Extension()]
    public static bool IsInvalid( 
       NHibernate.ISession session
    )

    Parameters

    session
    The session

    Return Value

    A session is invalid if there is a rolled back transaction.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also