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 需求

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

備註

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

注意

所有開發人員帳戶都無法使用可下載的內容 (DLC) 套件。

屬性

ExtendedError

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

StorePackageLicense

取得 物件,表示目前應用程式的可下載內容授權 (DLC) 附加元件套件。

適用於

另請參閱