Source. 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.
Allows the EventSource object to attempt to free resources and perform other cleanup operations before the object is reclaimed by garbage collection.
override this.Finalize : unit -> unit