共用方式為


LicenseRefreshOption 列舉

定義

定義可與 LicenseManager.RefreshLicensesAsync 方法搭配使用的值,以指定要在目前裝置上重新整理的應用程式授權。

public enum class LicenseRefreshOption
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
enum class LicenseRefreshOption
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
public enum LicenseRefreshOption
var value = Windows.ApplicationModel.Store.LicenseManagement.LicenseRefreshOption.runningLicenses
Public Enum LicenseRefreshOption
繼承
LicenseRefreshOption
屬性

Windows 需求

裝置系列
Windows 10 Creators Update (已於 10.0.15063.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v4.0 引進)

欄位

AllLicenses 1

重新整理裝置上的所有應用程式授權。

RunningLicenses 0

只重新整理目前執行中應用程式的授權。

適用於