NET Logging Library
Dispose(Boolean) Method



KellermanSoftware.NetLoggingLibrary.Targets Namespace > BaseTarget Class > Dispose Method : Dispose(Boolean) Method
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.
Syntax
Protected Overloads Overridable Sub Dispose( _
   ByVal disposing As Boolean _
) 
Dim instance As BaseTarget
Dim disposing As Boolean
 
instance.Dispose(disposing)
protected virtual void Dispose( 
   bool disposing
)
protected:
virtual void Dispose( 
   bool disposing
) 

Parameters

disposing
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

Reference

BaseTarget Class
BaseTarget Members
Overload List