Guide.ShowMarketplace Method
Displays the marketplace user interface.
Namespace: Microsoft.Xna.Framework.GamerServices
Assembly: Microsoft.Xna.Framework.GamerServices (in microsoft.xna.framework.gamerservices.dll)
public static void ShowMarketplace ( PlayerIndex player )
Parameters
- player
- Type: PlayerIndex
Index of the controller for the player making the request.
You can check GamerPrivileges.AllowPurchaseContent to determine if a player is allowed to purchase content before displaying a menu option that would call this method.
You can use this method to show a Marketplace offer when a game in trial mode is exiting: In your game's Game.Exit method, determine if the game is in trial mode by checking Guide.IsTrialMode, and call ShowMarketplace to show the Windows Phone Marketplace.
Windows Phone Specific Information |
|---|
| On Windows Phone, this method causes the game to close so that the system user interface can be shown. For information about how to prepare for such an interruption, see Handling Interruptions on Windows Phone. |
Community Additions
ADD
Show:
Windows Phone Specific Information