ContactList.SaveContactAsync(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 saves the specified Contact to the ContactStore.
public:
virtual IAsyncAction ^ SaveContactAsync(Contact ^ contact) = SaveContactAsync;
IAsyncAction SaveContactAsync(Contact const& contact);
public IAsyncAction SaveContactAsync(Contact contact);
function saveContactAsync(contact)
Public Function SaveContactAsync (contact As Contact) As IAsyncAction
Parameters
- contact
- Contact
The contact to save.
Returns
An async action indicating that the method has completed.
Windows requirements
App 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.