WebAccountMonitor
WebAccountMonitor
WebAccountMonitor
WebAccountMonitor
Class
Definition
Allows an app to monitor specific web accounts and raises events when those web accounts change.
public : sealed class WebAccountMonitor : IWebAccountMonitorpublic sealed class WebAccountMonitor : IWebAccountMonitorPublic NotInheritable Class WebAccountMonitor Implements IWebAccountMonitor// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v3)
|
Events
DefaultSignInAccountChanged DefaultSignInAccountChanged DefaultSignInAccountChanged DefaultSignInAccountChanged
Fires when the default sign account changes.
public : event TypedEventHandler DefaultSignInAccountChanged<WebAccountMonitor, object>public event TypedEventHandler DefaultSignInAccountChanged<WebAccountMonitor, object>Public Event DefaultSignInAccountChanged<WebAccountMonitor, object>// You can use this event in JavaScript.
Removed Removed Removed Removed
Fires when one of them monitored WebAccount is removed.
public : event TypedEventHandler Removed<WebAccountMonitor, WebAccountEventArgs>public event TypedEventHandler Removed<WebAccountMonitor, WebAccountEventArgs>Public Event Removed<WebAccountMonitor, WebAccountEventArgs>// You can use this event in JavaScript.
Updated Updated Updated Updated
Fires when one of the monitored WebAccount is updated.
public : event TypedEventHandler Updated<WebAccountMonitor, WebAccountEventArgs>public event TypedEventHandler Updated<WebAccountMonitor, WebAccountEventArgs>Public Event Updated<WebAccountMonitor, WebAccountEventArgs>// You can use this event in JavaScript.