Share via


ContactListLimitedWriteOperations.TryCreateOrUpdateContactAsync Method

Definition

Asynchronously attempts to create or update a contact.

public:
 virtual IAsyncOperation<bool> ^ TryCreateOrUpdateContactAsync(Contact ^ contact) = TryCreateOrUpdateContactAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryCreateOrUpdateContactAsync(Contact const& contact);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryCreateOrUpdateContactAsync(Contact contact);
function tryCreateOrUpdateContactAsync(contact)
Public Function TryCreateOrUpdateContactAsync (contact As Contact) As IAsyncOperation(Of Boolean)

Parameters

contact
Contact

The contact to create or update.

Returns

A Boolean value indicating if the operation was successful.

Attributes

Windows requirements

App capabilities
contactsSystem

Applies to