StorePackageLicense.LicenseLost イベント

定義

ユーザーが現在のデバイスのライセンスに対する権限を持たなくなった場合に発生します (たとえば、ユーザーが別のデバイスでライセンスを取得した場合など)。

// Register
event_token LicenseLost(TypedEventHandler<StorePackageLicense, IInspectable const&> const& handler) const;

// Revoke with event_token
void LicenseLost(event_token const* cookie) const;

// Revoke with event_revoker
StorePackageLicense::LicenseLost_revoker LicenseLost(auto_revoke_t, TypedEventHandler<StorePackageLicense, IInspectable const&> const& handler) const;
public event TypedEventHandler<StorePackageLicense,object> LicenseLost;
function onLicenseLost(eventArgs) { /* Your code */ }
storePackageLicense.addEventListener("licenselost", onLicenseLost);
storePackageLicense.removeEventListener("licenselost", onLicenseLost);
- or -
storePackageLicense.onlicenselost = onLicenseLost;
Public Custom Event LicenseLost As TypedEventHandler(Of StorePackageLicense, Object) 

イベントの種類

適用対象