DependencyObject.Finalize 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.
Provided as an override to Finalize() to clean up any unmanaged resources deterministically.
!DependencyObject ()
~DependencyObject ();
override this.Finalize : unit -> unit
Finalize ()
Remarks
Typically, this is required only when unmanaged resources such as raw HWNDS, Win32 files handlers, and others are released.
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.