语言

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)加载项包的许可证。

适用于

另请参阅