AggregateContactManager.TryLinkContactsAsync(Contact, Contact) 方法

定义

异步尝试将联系人链接在一起以建立聚合联系人。

public:
 virtual IAsyncOperation<Contact ^> ^ TryLinkContactsAsync(Contact ^ primaryContact, Contact ^ secondaryContact) = TryLinkContactsAsync;
IAsyncOperation<Contact> TryLinkContactsAsync(Contact const& primaryContact, Contact const& secondaryContact);
public IAsyncOperation<Contact> TryLinkContactsAsync(Contact primaryContact, Contact secondaryContact);
function tryLinkContactsAsync(primaryContact, secondaryContact)
Public Function TryLinkContactsAsync (primaryContact As Contact, secondaryContact As Contact) As IAsyncOperation(Of Contact)

参数

primaryContact
Contact

要链接的第一个联系人。

secondaryContact
Contact

要链接到 primaryContact 的第二个联系人。

返回

新创建的聚合联系人。

Windows 要求

应用功能
contactsSystem

注解

primaryContactsecondaryContact 对象可以是原始联系人和聚合联系人的任意组合。

适用于