WebAccountMonitor 類別

定義

允許應用程式監視特定的 Web 帳戶,並在這些 Web 帳戶變更時引發事件。

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
繼承
Object Platform::Object IInspectable WebAccountMonitor
屬性

Windows 需求

裝置系列
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v3.0 引進)

備註

版本歷程記錄

Windows 版本 SDK 版本 新增值
2004 19041 AccountPictureUpdated

事件

AccountPictureUpdated

當受監視 的 WebAccount 圖片 變更時引發。

DefaultSignInAccountChanged

當預設登入帳戶變更時引發。

Removed

移除受監視 的 WebAccount 時引發。

Updated

更新受監視 的 WebAccount 時引發。

適用於