StoreContext.RequestRateAndReviewAppAsync Method


Requests the user to rate and review the app. This method will display the UI for the user to select a Store rating and add an optional Store review for the product.


This method must be called on the UI thread.

 virtual IAsyncOperation<StoreRateAndReviewResult ^> ^ RequestRateAndReviewAppAsync() = RequestRateAndReviewAppAsync;
IAsyncOperation<StoreRateAndReviewResult> RequestRateAndReviewAppAsync();
public IAsyncOperation<StoreRateAndReviewResult> RequestRateAndReviewAppAsync();
function requestRateAndReviewAppAsync()
Public Function RequestRateAndReviewAppAsync () As IAsyncOperation(Of StoreRateAndReviewResult)



An asynchronous operation that, on successful completion, returns a StoreRateAndReviewResult object that provides status and error info.



If the ErrorCode property of the exception has the value 0x80070578 (ERROR_INVALID_WINDOW_HANDLE), this indicates that the method was not called on the UI thread. If you are calling this method in a desktop application that uses the Desktop Bridge, this can also indicate that you did not configure the StoreContext object to specify which application window is the owner window for modal dialogs shown by this method. For more information, see this article.

Windows 10 requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Services.Store.StoreContract (introduced in v4.0)

Applies to