Partager via


GameService.GetGamerProfileAsync Méthode

Définition

Récupère le profil du joueur pour l’utilisateur actuel.

public:
 static IAsyncOperation<GameServicePropertyCollection ^> ^ GetGamerProfileAsync();
 static IAsyncOperation<GameServicePropertyCollection> GetGamerProfileAsync();
public static IAsyncOperation<GameServicePropertyCollection> GetGamerProfileAsync();
function getGamerProfileAsync()
Public Shared Function GetGamerProfileAsync () As IAsyncOperation(Of GameServicePropertyCollection)

Retours

Une fois cette méthode terminée, elle retourne une GameServicePropertyCollection représentant le profil du joueur.

Remarques

Tous les membres de l’espace de noms Windows.Phone.System.UserProfile.GameServices.Core ne peuvent être utilisés que par le Kit de développement logiciel (SDK) Live XBox. Ces API ne peuvent pas être appelées, sauf par les applications qui ont la fonctionnalité ID_CAP_GAMERSERVICES.

S’applique à