WebAccountManager.SetPerAppToPerUserAccountAsync(WebAccount, String) 方法

定义

创建每应用到每用户帐户的链接。

public:
 static IAsyncAction ^ SetPerAppToPerUserAccountAsync(WebAccount ^ perAppAccount, Platform::String ^ perUserWebAccountId);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncAction SetPerAppToPerUserAccountAsync(WebAccount const& perAppAccount, winrt::hstring const& perUserWebAccountId);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncAction SetPerAppToPerUserAccountAsync(WebAccount perAppAccount, string perUserWebAccountId);
function setPerAppToPerUserAccountAsync(perAppAccount, perUserWebAccountId)
Public Shared Function SetPerAppToPerUserAccountAsync (perAppAccount As WebAccount, perUserWebAccountId As String) As IAsyncAction

参数

perAppAccount
WebAccount

每应用 Web 帐户。

perUserWebAccountId
String

Platform::String

winrt::hstring

要链接的每用户 Web 帐户的 Web 帐户 ID。

返回

此方法不返回值。

属性

Windows 要求

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

适用于