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

protected override void Finalize ()

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.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions