Udostępnij za pośrednictwem


ContactListLimitedWriteOperations Class

Definition

Provides operations that an app can perform on a contact list that it has not created.

public ref class ContactListLimitedWriteOperations sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ContactListLimitedWriteOperations final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ContactListLimitedWriteOperations
Public NotInheritable Class ContactListLimitedWriteOperations
Inheritance
Object Platform::Object IInspectable ContactListLimitedWriteOperations
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

Remarks

Get an instance of this class by using the LimitedWriteOperations property of a ContactList.

Methods

TryCreateOrUpdateContactAsync(Contact)

Asynchronously attempts to create or update a contact.

TryDeleteContactAsync(String)

Asynchronously attempts to delete a contact.

Applies to