Bagikan melalui


LeaderboardReader.BeginPageUp Method

Begins an asynchronous read of the page of leaderboard data before the current page.

Syntax

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

Parameters

  • callback
    Type: AsyncCallback
    An AsyncCallback representing the method to call when the leaderboard information is read.
  • asyncState
    Type: Object
    A user-created object used to uniquely identify the request, or null.

Return Value

Type: IAsyncResult
The IAsyncResult used to determine when the asynchronous request is finished.

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

Working with Asynchronous Methods in XNA Game Studio

Reference

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

Platforms

Windows Phone