WebAccountMonitor.DefaultSignInAccountChanged 事件

定义

当默认登录帐户更改时触发。

// Register
event_token DefaultSignInAccountChanged(TypedEventHandler<WebAccountMonitor, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
WebAccountMonitor::DefaultSignInAccountChanged_revoker DefaultSignInAccountChanged(auto_revoke_t, TypedEventHandler<WebAccountMonitor, IInspectable const&> const& handler) const;
public event TypedEventHandler<WebAccountMonitor,object> DefaultSignInAccountChanged;
function onDefaultSignInAccountChanged(eventArgs) { /* Your code */ }
webAccountMonitor.addEventListener("defaultsigninaccountchanged", onDefaultSignInAccountChanged);
webAccountMonitor.removeEventListener("defaultsigninaccountchanged", onDefaultSignInAccountChanged);
- or -
webAccountMonitor.ondefaultsigninaccountchanged = onDefaultSignInAccountChanged;
Public Custom Event DefaultSignInAccountChanged As TypedEventHandler(Of WebAccountMonitor, Object) 

事件类型

适用于