Dela via


WebAccountMonitor Class

Definition

Allows an app to monitor specific web accounts and raises events when those web accounts change.

public ref class WebAccountMonitor sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class WebAccountMonitor final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class WebAccountMonitor
Public NotInheritable Class WebAccountMonitor
Inheritance
Object Platform::Object IInspectable WebAccountMonitor
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Remarks

Version history

Windows version SDK version Value added
2004 19041 AccountPictureUpdated

Events

AccountPictureUpdated

Fires when a monitored WebAccount's picture changes.

DefaultSignInAccountChanged

Fires when the default sign in account changes.

Removed

Fires when a monitored WebAccount is removed.

Updated

Fires when a monitored WebAccount is updated.

Applies to