Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Common Namespace / AbleContext Class / Dispose Method / Dispose(Boolean) Method
A value indicating whether dispose has been called by user code.
In This Topic
    Dispose(Boolean) Method
    In This Topic
    Disposes of resources used by the class instance
    Syntax
    protected virtual void Dispose( 
       bool disposing
    )

    Parameters

    disposing
    A value indicating whether dispose has been called by user code.
    Remarks
    Dispose(bool disposing) executes in two distinct scenarios. If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed. If disposing equals false, the method has been called by the runtime from inside the finalizer and you should not reference other objects. Only unmanaged resources can be disposed.
    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