StoreCanAcquireLicenseResult 类

定义

为请求提供响应数据,以确定是否可以为 DLC) 加载项包 (可下载内容获取许可证。

public ref class StoreCanAcquireLicenseResult sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Services.Store.StoreContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class StoreCanAcquireLicenseResult final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Services.Store.StoreContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class StoreCanAcquireLicenseResult
Public NotInheritable Class StoreCanAcquireLicenseResult
继承
Object Platform::Object IInspectable StoreCanAcquireLicenseResult
属性

Windows 要求

设备系列
Windows 10, version 1803 (在 10.0.17134.0 中引入)
API contract
Windows.Services.Store.StoreContract (在 v3.0 中引入)

注解

注意

DLC) 包 (可下载的内容并不适用于所有开发人员帐户。

属性

ExtendedError

如果操作遇到错误,则获取请求的错误代码。

LicensableSku

如果可为当前用户获取加载项的许可证,则获取 DLC) 加载项 (可下载内容的 SKU 应用商店 ID

Status

获取 DLC) 加载项包 (可下载内容的许可证状态。

适用于

另请参阅