StorePurchaseResult 类

定义

为购买应用提供的应用或产品的请求提供响应数据。

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

Windows 要求

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

注解

StoreContextStoreProductStoreSkuStoreAvailability 类的 RequestPurchaseAsync 方法返回此类型的对象。

属性

ExtendedError

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

Status

获取购买请求的状态。

适用于