LicenseChangedEventHandler 代理人

定義

LicenseChanged イベントを処理するメソッドを表します。

public delegate void LicenseChangedEventHandler();
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3567583829, 4969, 19510, 131, 47, 111, 45, 136, 227, 101, 155)]
class LicenseChangedEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(3567583829, 4969, 19510, 131, 47, 111, 45, 136, 227, 101, 155)]
public delegate void LicenseChangedEventHandler();
var licenseChangedEventHandlerHandler = function(){
/* Your code */
}
Public Delegate Sub LicenseChangedEventHandler()
属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10240.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v1.0 で導入)

注釈

LicenseChanged イベントは 、アプリの実行中にアプリのライセンスの状態が変更されたときに発生します。 これらの変更に対応する方法を決定できます。 たとえば、アプリが変更に直ちに応答するようにしたり、次にユーザーがアプリを開くまで無視したりできます。

CurrentAppSimulator でこのイベントを使用すると、起動時にこのイベントが発生します。 CurrentApp クラスを使用してを実行すると、ライセンス情報に変更がある場合にのみ発生します。

適用対象