ContactStore.GetContactListAsync(String) ContactStore.GetContactListAsync(String) ContactStore.GetContactListAsync(String) ContactStore.GetContactListAsync(String) ContactStore.GetContactListAsync(String) Method

Definition

Asynchronously gets the ContactList with the specified ID.

public : IAsyncOperation<ContactList> GetContactListAsync(Platform::String contactListId)
IAsyncOperation<ContactList> GetContactListAsync(winrt::hstring contactListId) const;
public IAsyncOperation<ContactList> GetContactListAsync(String contactListId)
Public Function GetContactListAsync(contactListId As String) As IAsyncOperation(Of ContactList)
Windows.ApplicationModel.Contacts.ContactStore.getContactListAsync(contactListId).done( /* Your success and error handlers */ );
Parameters
contactListId
String String String

The ID of the ContactList to retrieve.

Returns

The ContactList with the specified ID or null if the list is not found.

Additional features and requirements
Capabilities
contactsSystem

Remarks

This method throws an invalid argument exception if the contactListId is malformed.