Share via


DisposableObject.Finalize Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Protected Overrides Sub Finalize
protected override void Finalize()
protected:
virtual void Finalize() override
abstract Finalize : unit -> unit  
override Finalize : unit -> unit
protected override function Finalize()

Implements

Object.Finalize

.NET Framework Security

See Also

Reference

DisposableObject Class

Microsoft.VisualStudio.PlatformUI Namespace