Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 2.06 KB

storerequesthelper_sendrequestasync_58590558.md

File metadata and controls

34 lines (24 loc) · 2.06 KB
-api-id -api-type
M:Windows.Services.Store.StoreRequestHelper.SendRequestAsync(Windows.Services.Store.StoreContext,System.UInt32,System.String)
winrt method

Windows.Services.Store.StoreRequestHelper.SendRequestAsync

-description

Sends the specified request to the Windows Store with the provided context and parameters.

-parameters

-param context

An object that specifies the user for which to perform the operation. If your app is a single-user app (that is, it runs only in the context of the user that launched the app), use the StoreContext.GetDefault method to get a StoreContext object that you can use to send a request that operates in the context of the user. If your app is a multi-user app, use the StoreContext.GetForUser method to get a StoreContext object that you can use to send a request that operates in the context of a specific user.

-param requestKind

A value that identifies the request that you want to send to the Windows Store.

-param parametersAsJson

A JSON-formatted string that contains the arguments to pass to the request.

-returns

An asynchronous operation that, on successful completion, returns a StoreSendRequestResult object that provides status and error info about the request.

-remarks

This method is intended to be used to send requests to the Windows Store for operations that do not yet have a corresponding API available in the Windows SDK. For more information about using this method, including details about the requests that are currently available, see Send requests to the Store.

-examples

-see-also

Send requests to the Store