语言

StoreRequestHelper 类

定义

提供一个帮助程序方法,可用于将请求发送到Microsoft Store,这些操作尚未在 Windows SDK 中提供相应的 API。

public ref class StoreRequestHelper abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Services.Store.StoreContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class StoreRequestHelper final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Services.Store.StoreContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class StoreRequestHelper
Public Class StoreRequestHelper
继承
Object Platform::Object IInspectable StoreRequestHelper
属性

Windows 要求

要求 说明
设备系列
Windows 10 Anniversary Edition (在 10.0.14393.0 中引入)
API contract
Windows.Services.Store.StoreContract (在 v1.0 中引入)

方法

名称 说明
SendRequestAsync(StoreContext, UInt32, String)

使用提供的上下文和参数将指定的请求发送到 Windows Store。

适用于

另请参阅