ContactList.SaveContactAsync(Contact) ContactList.SaveContactAsync(Contact) ContactList.SaveContactAsync(Contact) ContactList.SaveContactAsync(Contact) ContactList.SaveContactAsync(Contact) Method

Definition

Asynchronously saves the specified Contact to the ContactStore.

public : IAsyncAction SaveContactAsync(Contact contact)
IAsyncAction SaveContactAsync(Contact contact) const;
public IAsyncAction SaveContactAsync(Contact contact)
Public Function SaveContactAsync(contact As Contact) As IAsyncAction
Windows.ApplicationModel.Contacts.ContactList.saveContactAsync(contact).done( /* Your success and error handlers */ );
Parameters
contact
Contact Contact Contact

The contact to save.

Returns

An async action indicating that the method has completed.

Additional features and requirements
Capabilities
contactsSystem

Remarks

Throws a System.ArgumentException: 'Value does not fall within the expected range.' when the contact passed as parameter has a RemoteID set which is identical to a contacts RemoteID already saved on this device.