Share via


Contacts.GetAllAsync(CancellationToken) Method

Definition

Gets a collection of all the contacts on the device.

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Xamarin.Essentials.Contact>> GetAllAsync (System.Threading.CancellationToken cancellationToken = null);

Parameters

cancellationToken
System.Threading.CancellationToken

A token for cancelling the operation

Returns

System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Contact>>

Returns a collection of contacts on the device.

Applies to