UserDataAccountSystemAccessManager.DeleteDeviceAccountAsync(String) 方法

定义

注意

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

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

public:
 static IAsyncAction ^ DeleteDeviceAccountAsync(Platform::String ^ accountId);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncAction DeleteDeviceAccountAsync(winrt::hstring const& accountId);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncAction DeleteDeviceAccountAsync(string accountId);
function deleteDeviceAccountAsync(accountId)
Public Shared Function DeleteDeviceAccountAsync (accountId As String) As IAsyncAction

参数

accountId
String

Platform::String

winrt::hstring

要删除的设备帐户的 ID。

返回

返回指示操作已完成的异步操作。

属性

Windows 要求

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

适用于