Share via


GameService.GetGamerProfileAsync Method

Definition

Retrieves the gamer profile for the current user.

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

Returns

When this method completes, it returns a GameServicePropertyCollection representing the gamer profile.

Remarks

All members of the Windows.Phone.System.UserProfile.GameServices.Core namespace can only be used by the XBox Live SDK. These APIs cannot be called except by applications that have the ID_CAP_GAMERSERVICES capability.

Applies to