LicenseManager.GetSatisfactionInfosAsync 方法

定义

获取指定产品的许可证权利信息。

public:
 static IAsyncOperation<LicenseSatisfactionResult ^> ^ GetSatisfactionInfosAsync(IIterable<Platform::String ^> ^ contentIds, IIterable<Platform::String ^> ^ keyIds);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<LicenseSatisfactionResult> GetSatisfactionInfosAsync(IIterable<winrt::hstring> const& contentIds, IIterable<winrt::hstring> const& keyIds);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<LicenseSatisfactionResult> GetSatisfactionInfosAsync(IEnumerable<string> contentIds, IEnumerable<string> keyIds);
function getSatisfactionInfosAsync(contentIds, keyIds)
Public Shared Function GetSatisfactionInfosAsync (contentIds As IEnumerable(Of String), keyIds As IEnumerable(Of String)) As IAsyncOperation(Of LicenseSatisfactionResult)

参数

contentIds

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

要获取许可证权利信息的产品的内容 ID。

keyIds

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

要获取许可证权利信息的产品的密钥 ID。

返回

成功完成后,异步操作将返回一个 LicenseSatisfactionResult 对象,该对象提供指定产品的许可证权利信息。

属性

Windows 要求

应用功能
storeLicenseManagement

适用于