GetPartnerTokenAsync method

GameService.GetPartnerTokenAsync method

Retrieves the partner token for the specified Uri.

Syntax


Public Shared Function GetPartnerTokenAsync(
  audienceUri As Uri 
) As IAsyncOperation(Of String)

Parameters

audienceUri

Type: System.Uri [.NET] | Windows::Foundation::Uri [C++]

The Uri for which the partner token is retrieved.

Return value

Type: IAsyncOperation<String>

When this method completes, it returns a string containing the partern token.

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, introduced version 10.0.10240.0

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:
© 2016 Microsoft