StoreConsumableResult StoreConsumableResult StoreConsumableResult StoreConsumableResult Class

Definition

Provides response data for a request that involves a consumable add-on for the current app.

public : sealed class StoreConsumableResult : IStoreConsumableResultpublic sealed class StoreConsumableResult : IStoreConsumableResultPublic NotInheritable Class StoreConsumableResult Implements IStoreConsumableResult// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Services.Store.StoreContract (introduced v1)

Remarks

The ReportConsumableFulfillmentAsync and GetConsumableBalanceRemainingAsync methods of the StoreContext class return an object of this type.

Properties

BalanceRemaining BalanceRemaining BalanceRemaining BalanceRemaining

Gets the remaining balance for the consumable add-on.

public : unsigned int BalanceRemaining { get; }public uint BalanceRemaining { get; }Public ReadOnly Property BalanceRemaining As uint// You can use this property in JavaScript.
Value
unsigned int uint uint uint

The remaining balance for the consumable add-on. For an unmanaged consumable where the developer keeps track of the balance rather than Microsoft, this property returns either 1 (the user has an entitlement for the add-on) or 0 (the user does not have an entitlement for the add-on).

ExtendedError ExtendedError ExtendedError ExtendedError

Gets the error code for the request, if the operation encountered an error.

public : HResult ExtendedError { get; }public Exception ExtendedError { get; }Public ReadOnly Property ExtendedError As Exception// You can use this property in JavaScript.
Value
HResult Exception Exception Exception

The error code for the request.

See Also

Status Status Status Status

Gets the status of the request.

public : StoreConsumableStatus Status { get; }public StoreConsumableStatus Status { get; }Public ReadOnly Property Status As StoreConsumableStatus// You can use this property in JavaScript.

TrackingId TrackingId TrackingId TrackingId

Gets the tracking ID that was submitted with the ReportConsumableFulfillmentAsync request.

public : PlatForm::Guid TrackingId { get; }public Guid TrackingId { get; }Public ReadOnly Property TrackingId As Guid// You can use this property in JavaScript.
Value
PlatForm::Guid Guid Guid Guid

The tracking ID that was submitted with the ReportConsumableFulfillmentAsync request.

Remarks

For more information about the tracking ID, see ReportConsumableFulfillmentAsync.