共用方式為


LeaderboardReader.Dispose Method

Releases all resources used by this LeaderboardReader.

Namespace: Microsoft.Xna.Framework.GamerServices
Assembly: Microsoft.Xna.Framework.GamerServices (in microsoft.xna.framework.gamerservices.dll)

Syntax

public void Dispose ()

Remarks

Warning

This method retrieves a calculated result only for titles approved to access Xbox LIVE Services through the Xbox LIVE Registered Developer Program. For Xbox LIVE Indie games, this method returns immediately with a predetermined default value.

Calling Dispose leaves the LeaderboardReader in an unusable state. Call this method to release the resources used by this object so that the garbage collector can reclaim the memory used by this instance.

See Also

Reference

LeaderboardReader Class
LeaderboardReader Members
Microsoft.Xna.Framework.GamerServices Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP