UserDataAccountSystemAccessManager.GetDeviceAccountConfigurationAsync 方法

定义

注意

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

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

public:
 static IAsyncOperation<DeviceAccountConfiguration ^> ^ GetDeviceAccountConfigurationAsync(Platform::String ^ accountId);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<DeviceAccountConfiguration> GetDeviceAccountConfigurationAsync(winrt::hstring const& accountId);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<DeviceAccountConfiguration> GetDeviceAccountConfigurationAsync(string accountId);
function getDeviceAccountConfigurationAsync(accountId)
Public Shared Function GetDeviceAccountConfigurationAsync (accountId As String) As IAsyncOperation(Of DeviceAccountConfiguration)

参数

accountId
String

Platform::String

winrt::hstring

设备帐户的 ID。

返回

重新计算 accountId 参数指定的设备帐户的 DeviceAccountConfiguration

属性

Windows 要求

设备系列
Windows 10 Anniversary Edition (在 10.0.14393.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v3.0 中引入)
应用功能
userDataAccountsProvider

适用于