Share via


ContactListCreateOrUpdateContactRequest Class

Definition

Details of a request to create or update a contact.

public ref class ContactListCreateOrUpdateContactRequest sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ContactListCreateOrUpdateContactRequest final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ContactListCreateOrUpdateContactRequest
Public NotInheritable Class ContactListCreateOrUpdateContactRequest
Inheritance
Object Platform::Object IInspectable ContactListCreateOrUpdateContactRequest
Attributes

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)
App capabilities
contactsSystem

Properties

Contact

Gets the Contact of the task to be created or updated.

ContactListId

Gets the ID of the contact list that contains the task that is to created or updated.

Methods

ReportCompletedAsync(Contact)

Informs the client app that the request was processed successfully.

ReportFailedAsync()

Informs the client that the request was not processed successfully.

Applies to