Share via


DisposableObject.DisposeNativeResources Method

Definition

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.

Applies to