DisposableObject.DisposeManagedResources 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.
Allows derived classes to provide custom dispose handling for managed resources
protected:
virtual void DisposeManagedResources();
protected:
virtual void DisposeManagedResources();
virtual void DisposeManagedResources();
protected virtual void DisposeManagedResources ();
abstract member DisposeManagedResources : unit -> unit
override this.DisposeManagedResources : unit -> unit
Protected Overridable Sub DisposeManagedResources ()
Remarks
Derived classes are expected to override this method to dispose their managed resources, then call the base class.