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