Effect.Finalize Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Allows this object to attempt to free resources and perform other cleanup operations before garbage collection reclaims the object.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics.Extensions (in Microsoft.Xna.Framework.Graphics.Extensions.dll)
Syntax
'Declaration
Protected Overrides Sub Finalize
protected override void Finalize()
Remarks
This method overrides System.Object.Finalize. Application code should not call this method; an object's Finalize method is automatically invoked during garbage collection, unless a call to the GC.SuppressFinalize method has disabled finalization by the garbage collector.
Version Information
Silverlight
Supported in: 5
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.