StoreProductQueryResult 类

定义

为请求提供响应数据,以检索有关可从当前应用内购买的产品的详细信息。

public ref class StoreProductQueryResult 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 StoreProductQueryResult 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 sealed class StoreProductQueryResult
Public NotInheritable Class StoreProductQueryResult
继承
Object Platform::Object IInspectable StoreProductQueryResult
属性

Windows 要求

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

注解

StoreContext 类的以下方法返回此类型的对象:

属性

ExtendedError

如果操作遇到错误,则获取请求的错误代码。

Products

获取请求返回的产品的集合。

适用于