共用方式為


AvatarDescription.BeginGetFromGamer Method

Begins the process of getting a AvatarDescription object for a specified gamertag.

Syntax

'Declaration
Public Shared Function BeginGetFromGamer ( _
         gamer As Gamer, _
         callback As AsyncCallback, _
         state As Object _
) As IAsyncResult 
public static IAsyncResult BeginGetFromGamer (
         Gamer gamer,
         AsyncCallback callback,
         Object state
)
public:
static IAsyncResult BeginGetFromGamer(
         Gamer gamer,
         AsyncCallback callback,
         Object state
)

Parameters

  • gamer
    Type: Gamer
    Gamer to request the AvatarDescription for.
  • callback
    Type: AsyncCallback
    The method to be called once the asynchronous operation has finished.
  • state
    Type: Object
    State of the asynchronous operation.

Return Value

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

Requirements

Namespace: Microsoft.Xna.Framework.GamerServices

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

See Also

Overview

Working with Asynchronous Methods in XNA Game Studio

Reference

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

Platforms

Windows Phone