语言

StoreProductResult 类

定义

为请求提供响应数据,以检索有关当前应用的详细信息。

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

Windows 要求

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

注解

StoreContext.GetStoreProductForCurrentAppAsync 方法返回此类型的对象。

属性

名称 说明
ExtendedError

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

Product

获取有关当前应用的信息。

适用于