UserDataAccountSystemAccessManager.AddAndShowDeviceAccountsAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
异步显示系统 UI,用于管理指定帐户的同步关系。
public:
static IAsyncOperation<IVectorView<Platform::String ^> ^> ^ AddAndShowDeviceAccountsAsync(IIterable<DeviceAccountConfiguration ^> ^ accounts);
static IAsyncOperation<IVectorView<winrt::hstring>> AddAndShowDeviceAccountsAsync(IIterable<DeviceAccountConfiguration> const& accounts);
public static IAsyncOperation<IReadOnlyList<string>> AddAndShowDeviceAccountsAsync(IEnumerable<DeviceAccountConfiguration> accounts);
function addAndShowDeviceAccountsAsync(accounts)
Public Shared Function AddAndShowDeviceAccountsAsync (accounts As IEnumerable(Of DeviceAccountConfiguration)) As IAsyncOperation(Of IReadOnlyList(Of String))
参数
在系统 UI 中要管理的帐户列表。
返回
返回帐户的更新列表。
Windows 要求
| 要求 | 说明 |
|---|---|
| 应用功能 |
userDataAccountsProvider
|