次の方法で共有


LicenseManager.RefreshLicensesAsync(LicenseRefreshOption) メソッド

定義

現在のデバイスのアプリ ライセンスのライセンス情報を更新します。

public:
 static IAsyncAction ^ RefreshLicensesAsync(LicenseRefreshOption refreshOption);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncAction RefreshLicensesAsync(LicenseRefreshOption const& refreshOption);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncAction RefreshLicensesAsync(LicenseRefreshOption refreshOption);
function refreshLicensesAsync(refreshOption)
Public Shared Function RefreshLicensesAsync (refreshOption As LicenseRefreshOption) As IAsyncAction

パラメーター

refreshOption
LicenseRefreshOption

デバイス上のすべてのアプリ ライセンスを更新するか、現在実行中のアプリのライセンスのみを更新するかを示す LicenseRefreshOption

戻り値

非同期操作を表す オブジェクト。

属性

Windows の要件

デバイス ファミリ
Windows 10 Creators Update (10.0.15063.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v4.0 で導入)
アプリの機能
storeLicenseManagement

適用対象