共用方式為


ContactPartnerProvisioningManager.AssociateSocialNetworkAccountAsync 方法

定義

此 API 不適合直接從您的程式碼使用。

public:
 static IAsyncAction ^ AssociateSocialNetworkAccountAsync(ContactStore ^ store, Platform::String ^ networkName, Platform::String ^ networkAccountId);
 static IAsyncAction AssociateSocialNetworkAccountAsync(ContactStore const& store, winrt::hstring const& networkName, winrt::hstring const& networkAccountId);
public static IAsyncAction AssociateSocialNetworkAccountAsync(ContactStore store, string networkName, string networkAccountId);
function associateSocialNetworkAccountAsync(store, networkName, networkAccountId)
Public Shared Function AssociateSocialNetworkAccountAsync (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

網路帳戶識別碼。

傳回

非同步動作。 如果您使用 非同步程式設計,則結果類型為 void

Windows 需求

應用程式功能
ID_CAP_PERSONAL_INFORMATION_IMPORT [Windows Phone]

適用於