GameService.GetPartnerTokenAsync(Uri) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the partner token for the specified Uri.
public:
static IAsyncOperation<Platform::String ^> ^ GetPartnerTokenAsync(Uri ^ audienceUri);
static IAsyncOperation<winrt::hstring> GetPartnerTokenAsync(Uri const& audienceUri);
public static IAsyncOperation<string> GetPartnerTokenAsync(System.Uri audienceUri);
function getPartnerTokenAsync(audienceUri)
Public Shared Function GetPartnerTokenAsync (audienceUri As Uri) As IAsyncOperation(Of String)
Parameters
Returns
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.