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)