LockApplicationHost.Unlocking 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指示设备正在解锁。
// Register
event_token Unlocking(TypedEventHandler<LockApplicationHost, LockScreenUnlockingEventArgs const&> const& handler) const;
// Revoke with event_token
void Unlocking(event_token const* cookie) const;
// Revoke with event_revoker
LockApplicationHost::Unlocking_revoker Unlocking(auto_revoke_t, TypedEventHandler<LockApplicationHost, LockScreenUnlockingEventArgs const&> const& handler) const;
public event TypedEventHandler<LockApplicationHost,LockScreenUnlockingEventArgs> Unlocking;
function onUnlocking(eventArgs) { /* Your code */ }
lockApplicationHost.addEventListener("unlocking", onUnlocking);
lockApplicationHost.removeEventListener("unlocking", onUnlocking);
- or -
lockApplicationHost.onunlocking = onUnlocking;
Public Custom Event Unlocking As TypedEventHandler(Of LockApplicationHost, LockScreenUnlockingEventArgs)