StoreConsumableResult 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供涉及當前應用程式消耗性附加元件的請求回應資料。
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
- 繼承
- 屬性
Windows 需求
| 規格需求 | Description |
|---|---|
| 裝置系列 |
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
|
| API contract |
Windows.Services.Store.StoreContract (已於 v1.0 引進)
|
備註
StoreContext 類別的 ReportConsumableFulfillmentAsync 與 GetConsumableBalanceRemainingAsync 方法會回傳此類型的物件。
屬性
| 名稱 | Description |
|---|---|
| BalanceRemaining |
拿到消耗品附加品剩餘的餘額。 |
| ExtendedError |
如果操作遇到錯誤,會取得請求的錯誤代碼。 |
| Status |
取得要求的狀態。 |
| TrackingId |
會取得隨 ReportConsumableFulfillmentAsync 請求提交的追蹤 ID。 |