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.
Applies to
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro