WebAccountMonitor.DefaultSignInAccountChanged Ereignis
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Wird ausgelöst, wenn sich das Standardanmeldungskonto ändert.
// 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)
Ereignistyp
TypedEventHandler<WebAccountMonitor,IInspectable>