AvatarDescription.BeginGetFromGamer Method

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

Ff827596.note(en-us,XNAGameStudio.40).gifWindows Specific Information
Avatar-related APIs are exposed on Windows to ease cross-platform development between Windows and the Xbox 360. All avatar-related methods return default values, and rendering methods do not draw anything to the screen.

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

Syntax

public static IAsyncResult BeginGetFromGamer (
         Gamer gamer,
         AsyncCallback callback,
         Object state
)

Parameters

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

Return Value

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

See Also

Overview

Working with Asynchronous Methods in XNA Game Studio

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP