Partilhar via


How to use the Marketplace review task for Windows Phone 8

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Use the Marketplace review task to launch the Store or Marketplace and then display the review page for the current app.

By using Launchers, you help provide a consistent user experience throughout the Windows Phone platform. For more info, see Launchers and Choosers for Windows Phone 8.

Note

A user must have a Microsoft account (formerly known as a Windows Live ID) to write a review. On Windows Phone Emulator, an error appears when you launch the rate and review page if there is no Microsoft account.

To use the Marketplace review task

  1. Add the following statement to your code.

    using Microsoft.Phone.Tasks;
    
    Imports Microsoft.Phone.Tasks
    
  2. Add the following code to your app wherever you need it, such as in a button click event. To test this procedure, you can put the code in the page constructor. This is the code you use to launch the task.

    MarketplaceReviewTask marketplaceReviewTask = new MarketplaceReviewTask();
    
    marketplaceReviewTask.Show();
    
    Dim marketplaceReviewTask as MarketplaceReviewTask = new MarketplaceReviewTask()
    
    marketplaceReviewTask.Show()
    

See Also

Reference

MarketplaceReviewTask

Other Resources

How to use the Marketplace detail task for Windows Phone 8

How to use the Marketplace Hub task for Windows Phone 8

How to use the Marketplace search task for Windows Phone 8

How to link to Store content Windows Phone 8