SignedInGamer.EndGetAchievements Method

Ends an asynchronous achievement query operation.

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

Syntax

public AchievementCollection EndGetAchievements (
         IAsyncResult result
)

Parameters

  • result
    An IAsyncResult used to track the progress of the operation.

Return Value

The requested achievement collection.

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.

The collection returned will include both earned and unearned achievements. Check Achievement.IsEarned to determine whether an achievement has been earned by the gamer.

See Also

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone 7