Allows an
Object to attempt to free resources and perform other cleanup operations before the
Object is reclaimed by garbage collection. (inherited from Object)
Syntax
Visual Basic (Declaration) | |
---|
Overrides Protected Sub Finalize() |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Cache
instance.Finalize()
|
C# | |
---|
protected override void Finalize() |
C++/CLI | |
---|
protected:
void Finalize(); override |
Requirements
Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family, Windows Server 2008 family
See Also