GameService.GetGamerProfileAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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.