Share via


Gamer.EndGetPartnerToken Method

Retrieves the results from an asynchronous request for the partner token for this gamer.

Syntax

'Declaration
Public Shared Function EndGetPartnerToken ( _
         result As IAsyncResult _
) As String 
public static string EndGetPartnerToken (
         IAsyncResult result
)
public:
static String EndGetPartnerToken(
         IAsyncResult result
)

Parameters

Return Value

Type: String
The Xbox LIVE partner token for the gamer.

Remarks

Warning

This method retrieves a calculated result only for titles approved to access Xbox LIVE Services through the Xbox LIVE Registered Developer Program. For Xbox LIVE Indie games, this method returns immediately with a predetermined default value.

A partner token contains authentication information that identifies both the application and gamer for communication with Xbox LIVE.

Requirements

Namespace: Microsoft.Xna.Framework.GamerServices

Assembly: Microsoft.Xna.Framework.GamerServices (in microsoft.xna.framework.gamerservices.dll)

See Also

Reference

Gamer Class
Gamer Members
Microsoft.Xna.Framework.GamerServices Namespace

Platforms

Windows Phone