Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

GameService.GetGamerProfileAsync method

Retrieves the gamer profile for the current user.

Syntax


public static IAsyncOperation<GameServicePropertyCollection> GetGamerProfileAsync()

Parameters

This method has no parameters.

Return value

Type: IAsyncOperation<GameServicePropertyCollection>

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.

Requirements (Windows 10 device family)

Device family

Mobile

API contract

Windows.Phone.PhoneContract, introduced version 1.0

Namespace

Windows.Phone.System.UserProfile.GameServices.Core
Windows::Phone::System::UserProfile::GameServices::Core [C++]

Metadata

Windows.Phone.PhoneContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Phone.System.UserProfile.GameServices.Core
Windows::Phone::System::UserProfile::GameServices::Core [C++]

Metadata

Windows.WinMD

See also

GameService

 

 

Show:
© 2015 Microsoft