PlayReadyLicenseAcquisitionServiceRequest.CreateLicenseIterable 方法

定义

创建一个 PlayReadyLicense 类迭代器,该迭代器支持仅内存中 PlayReady 许可证以及持久化许可证。

public:
 virtual PlayReadyLicenseIterable ^ CreateLicenseIterable(PlayReadyContentHeader ^ contentHeader, bool fullyEvaluated) = CreateLicenseIterable;
PlayReadyLicenseIterable CreateLicenseIterable(PlayReadyContentHeader const& contentHeader, bool const& fullyEvaluated);
public PlayReadyLicenseIterable CreateLicenseIterable(PlayReadyContentHeader contentHeader, bool fullyEvaluated);
function createLicenseIterable(contentHeader, fullyEvaluated)
Public Function CreateLicenseIterable (contentHeader As PlayReadyContentHeader, fullyEvaluated As Boolean) As PlayReadyLicenseIterable

参数

contentHeader
PlayReadyContentHeader

用于查找关联许可证的内容标头。

fullyEvaluated
Boolean

bool

指示是否应枚举评估的许可证链,或者是否应枚举所有许可证 (包括) 不可用的许可证链。 如果应枚举评估的许可证链,请将此参数设置为 true。 如果应枚举所有许可证,请将此参数设置为 false。

返回

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v4.0 中引入)

适用于