UserDataAccountSystemAccessManager.CreateDeviceAccountAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public:
static IAsyncOperation<Platform::String ^> ^ CreateDeviceAccountAsync(DeviceAccountConfiguration ^ account);
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncOperation<winrt::hstring> CreateDeviceAccountAsync(DeviceAccountConfiguration const& account);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<string> CreateDeviceAccountAsync(DeviceAccountConfiguration account);
function createDeviceAccountAsync(account)
Public Shared Function CreateDeviceAccountAsync (account As DeviceAccountConfiguration) As IAsyncOperation(Of String)
参数
- account
- DeviceAccountConfiguration
创建帐户时要使用的配置。
返回
返回一个字符串,其中包含新创建的设备帐户 ID。
- 属性
Windows 要求
| 设备系列 |
Windows 10 Anniversary Edition (在 10.0.14393.0 中引入)
|
| API contract |
Windows.Foundation.UniversalApiContract (在 v3.0 中引入)
|
| 应用功能 |
userDataAccountsProvider
|