Version

DisposableObject Class

The base class Disposable maintains a boolean flag that keeps track of whether or not the object has been Disposed. It implemnets System.IDisposable and calls a virtual 'OnDispose' method to let the derived class know when the object has been Disposed.
Syntax
'Declaration
 
Public MustInherit Class DisposableObject 
   Inherits System.MarshalByRefObject
public abstract class DisposableObject : System.MarshalByRefObject 
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, 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