SignedInGamer.AwardAchievement Method

[Deprecated] Awards the specified achievement to a locally signed-in gamer.

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

public void AwardAchievement (
         string achievementKey
)

Parameters

achievementKey
Type: String
Identifier specifying the achievement to award.

Ff634516.note(en-us,XNAGameStudio.41).gifImportant
This function is deprecated: use the asynchronous method BeginAwardAchievement to award an achievement, which also provides result information.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

ADD
Show: