WaitHandle.IDisposable.Dispose Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Releases all resources used by the WaitHandle.
This API supports the product infrastructure and is not intended to be used directly from your code.
virtual void System.IDisposable.Dispose() = IDisposable::Dispose;
void IDisposable.Dispose ();
abstract member System.IDisposable.Dispose : unit -> unit
override this.System.IDisposable.Dispose : unit -> unit
Sub Dispose () Implements IDisposable.Dispose
Implements
Remarks
Calling Dispose
allows the resources used by the WaitHandle to be reallocated for other purposes. For more information about Dispose
, see Cleaning Up Unmanaged Resources.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.