AggregateContactManager.TryLinkContactsAsync(Contact, Contact) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Asynchronously attempts to link contacts together to make an aggregate 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)
Parameters
- primaryContact
- Contact
The first contact to link.
- secondaryContact
- Contact
The second contact to link to the primaryContact.
Returns
The newly created aggregate contact.
Windows requirements
App capabilities |
contactsSystem
|
Remarks
The primaryContact and secondaryContact objects can be any combination of raw and aggregate contacts.