Sdílet prostřednictvím


Gamer.EndGetPartnerToken Method

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

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

Syntax

public static string EndGetPartnerToken (
         IAsyncResult result
)

Parameters

  • result
    An IAsyncResult used to track the progress of the operation.

Return Value

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.

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone 7