Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 1.39 KB

storecontext_requestrateandreviewappasync_2001521545.md

File metadata and controls

32 lines (21 loc) · 1.39 KB
-api-id -api-type ms.custom
M:Windows.Services.Store.StoreContext.RequestRateAndReviewAppAsync
winrt method
RS5

Windows.Services.Store.StoreContext.RequestRateAndReviewAppAsync

-description

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.

Important

This method must be called on the UI thread.

-returns

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

-exceptions

T:System.Runtime.InteropServices.COMException

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.

-remarks

-see-also

-examples