Mono Class Library: System.Threading.WaitHandle Overview | Members

System.Threading.WaitHandle.Close Method

Releases all resources held by the current instance. [Edit]

public virtual void Close ()

Remarks

This method is the public version of the IDisposable.Dispose method implemented to support the IDisposable interface.

Operation
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(object) method.

As described above.

Note to Inheritors
Override this property to release resources allocated in subclasses.

Usage
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.

[Edit]

Requirements

Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0