共用方式為


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 引進)

備註

StoreCoNtext、StoreProductStoreSkuStoreAvailability類別的RequestPurchaseAsync方法會傳回此類型的物件。

屬性

ExtendedError

如果作業發生錯誤,取得購買要求的錯誤碼。

Status

取得購買要求的狀態。

適用於