Assembly: Microsoft.Xna.Framework.GamerServices (in microsoft.xna.framework.gamerservices.dll)
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.|