ContactPartnerProvisioningManager.AssociateNetworkAccountAsync 方法

定义

此 API 不应在代码中直接使用。

public:
 static IAsyncAction ^ AssociateNetworkAccountAsync(ContactStore ^ store, Platform::String ^ networkName, Platform::String ^ networkAccountId);
 static IAsyncAction AssociateNetworkAccountAsync(ContactStore const& store, winrt::hstring const& networkName, winrt::hstring const& networkAccountId);
public static IAsyncAction AssociateNetworkAccountAsync(ContactStore store, string networkName, string networkAccountId);
function associateNetworkAccountAsync(store, networkName, networkAccountId)
Public Shared Function AssociateNetworkAccountAsync (store As ContactStore, networkName As String, networkAccountId As String) As IAsyncAction

参数

store
ContactStore

联系人存储。

networkName
String

Platform::String

winrt::hstring

网络名称。

networkAccountId
String

Platform::String

winrt::hstring

帐户 ID。

返回

异步操作。 如果使用 异步编程,则结果类型为 void

Windows 要求

应用功能
ID_CAP_PERSONAL_INFORMATION_IMPORT [Windows Phone]

适用于