Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
Syntax
Visual Basic (Declaration) | |
---|
Protected Overrides Sub Finalize()
|
Visual Basic (Usage) | Copy Code |
---|
Dim instance As K2ErrorBalloon
instance.Finalize()
|
C# | |
---|
protected override void Finalize()
|
C++/CLI | |
---|
protected:
void Finalize(); override
|
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also