ManagementPack.Dispose(Boolean) 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.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
protected:
override void Dispose(bool disposing);
protected override void Dispose (bool disposing);
override this.Dispose : bool -> unit
Protected Overrides Sub Dispose (disposing As Boolean)
Parameters
- disposing
- Boolean
Indicates how the method was called.
Remarks
This method executes in two distinct scenarios. If the value of disposing
is true
, the method has been called directly or indirectly by the user code. Managed and unmanaged resources can be disposed. If the value of disposing
is 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.