When overridden in a derived class, releases all resources held by the current WaitHandle.
Public Overridable Sub Close
Dim instance As WaitHandle instance.Close()
public virtual void Close()
public: virtual void Close()
public function Close()
This method is the public version of the IDisposable..::.Dispose method implemented to support the IDisposable interface.
This method releases any unmanaged resources held by the current instance. This method can, but is not required to, suppress finalization during garbage collection by calling the GC..::.SuppressFinalize method.
Override this method to release resources allocated in derived classes.
Use this method to release all resources held by an instance of WaitHandle. Once this method is called, references to the current instance cause undefined behavior.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC, Xbox 360, Zune