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) 

事件类型

适用于