UserDataAccountSystemAccessManager 类

定义

提供显示用于管理同步关系的系统 UI 的功能。

public ref class UserDataAccountSystemAccessManager abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class UserDataAccountSystemAccessManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class UserDataAccountSystemAccessManager
Public Class UserDataAccountSystemAccessManager
继承
Object Platform::Object IInspectable UserDataAccountSystemAccessManager
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)
应用功能
userDataAccountsProvider

注解

这是一个静态类。

版本历史记录

Windows 版本 SDK 版本 已添加值
1607 14393 CreateDeviceAccountAsync
1607 14393 DeleteDeviceAccountAsync
1607 14393 GetDeviceAccountConfigurationAsync
1607 14393 SuppressLocalAccountWithAccountAsync

方法

AddAndShowDeviceAccountsAsync(IIterable<DeviceAccountConfiguration>)

异步显示系统 UI,以管理指定帐户的同步关系。

CreateDeviceAccountAsync(DeviceAccountConfiguration)

注意

此 API 不再受支持,不应从代码调用。

使用指定的 DeviceAccountConfiguration 异步创建设备帐户。

DeleteDeviceAccountAsync(String)

注意

此 API 不再受支持,不应从代码调用。

异步删除指定的设备帐户。

GetDeviceAccountConfigurationAsync(String)

注意

此 API 不再受支持,不应从代码调用。

异步获取指定设备帐户的 DeviceAccountConfiguration

SuppressLocalAccountWithAccountAsync(String)

使用指定的帐户异步和暂时替换默认本地帐户。

适用于