SignedInGamer.AwardAchievement Method
[Deprecated] Awards the specified achievement to a locally signed-in gamer.
Syntax
'Declaration
Public Sub AwardAchievement ( _
achievementKey As String _
)
public void AwardAchievement (
string achievementKey
)
public:
void AwardAchievement(
String achievementKey
)
Parameters
- achievementKey
Type: String
Identifier specifying the achievement to award.
Remarks
Important
This function is deprecated: use the asynchronous method BeginAwardAchievement to award an achievement, which also provides result information.
Requirements
Namespace: Microsoft.Xna.Framework.GamerServices
Assembly: Microsoft.Xna.Framework.GamerServices (in microsoft.xna.framework.gamerservices.dll)
See Also
SignedInGamer Class
SignedInGamer Members
Microsoft.Xna.Framework.GamerServices Namespace
Platforms
Windows Phone