WebAccountMonitor.DefaultSignInAccountChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Fires when the default sign in account changes.
// 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)
Event Type
TypedEventHandler<WebAccountMonitor,IInspectable>