Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Messaging Namespace / Publisher Class / Dispose Method / Dispose(Boolean) Method
Indicates whether to release managed resources. This should only be called with true, except from the finalizer which should call Dispose(false).

In This Topic
    Dispose(Boolean) Method
    In This Topic
    Performs the actual releasing of managed and unmanaged resources. Most usage should instead call Dispose(), which will call Dispose(true) for you and will suppress redundant finalization.
    Syntax
    'Declaration
     
    
    Protected Overloads Overridable Sub Dispose( _
       ByVal releaseManaged As Boolean _
    ) 
    protected virtual void Dispose( 
       bool releaseManaged
    )

    Parameters

    releaseManaged
    Indicates whether to release managed resources. This should only be called with true, except from the finalizer which should call Dispose(false).
    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