Bagikan melalui


SignedInGamer.BeginGetAchievements Method

Starts an asynchronous achievement query operation.

Syntax

'Declaration
Public Function BeginGetAchievements ( _
         callback As AsyncCallback, _
         asyncState As Object _
) As IAsyncResult 
public IAsyncResult BeginGetAchievements (
         AsyncCallback callback,
         Object asyncState
)
public:
IAsyncResult BeginGetAchievements(
         AsyncCallback callback,
         Object asyncState
)

Parameters

  • callback
    Type: AsyncCallback
    The method to be called once the asynchronous operation is finished.
  • asyncState
    Type: Object
    State of the asynchronous operation.

Return Value

Type: IAsyncResult
An IAsyncResult used to track the progress of the method. Call EndGetAchievements to access these results.

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.

Requirements

Namespace: Microsoft.Xna.Framework.GamerServices

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

See Also

Tasks

Reference

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

Platforms

Windows Phone