Object. Finalize Method
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.
override this.Finalize : unit -> unit
Typically, this is required only when unmanaged resources such as raw HWNDS, Win32 files handlers, and others are released.