WebAccountManager.SetPerAppToPerUserAccountAsync(WebAccount, String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建每应用到每用户帐户的链接。
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 中引入)
|