語言

StoreAcquireLicenseResult 類別

定義

提供針對目前應用程式下載內容(DLC)附加包授權申請的回應資料。

public ref class StoreAcquireLicenseResult 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 StoreAcquireLicenseResult 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 StoreAcquireLicenseResult
Public NotInheritable Class StoreAcquireLicenseResult
繼承
Object Platform::Object IInspectable StoreAcquireLicenseResult
屬性

Windows 需求

規格需求 Description
裝置系列
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
API contract
Windows.Services.Store.StoreContract (已於 v1.0 引進)

備註

StoreContext.AcquireStoreLicenseForOptionalPackageAsync 方法會回傳此類型的物件。

備註

可下載內容(DLC)套件並非所有開發者帳號都能使用。

屬性

名稱 Description
ExtendedError

如果操作遇到錯誤,會取得請求的錯誤代碼。

StorePackageLicense

取得一個物件,代表目前應用程式可下載內容(DLC)附加包的授權。

適用於

另請參閱