StoreConsumableResult 类

定义

为涉及当前应用的易耗型加载项的请求提供响应数据。

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

Windows 要求

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

注解

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

属性

BalanceRemaining

获取易耗品加载项的剩余余额。

ExtendedError

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

Status

获取请求的状态。

TrackingId

获取随 ReportConsumableFulfillmentAsync 请求一起提交的跟踪 ID。

适用于