GraphicsResource.Finalize Method

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 (in microsoft.xna.framework.graphics.dll)

Syntax

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.

See Also

Reference

GraphicsResource Class
GraphicsResource Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP