Share via


IContacts.GetAllAsync(CancellationToken) Metodo

Definizione

Ottiene una raccolta di tutti i contatti nel dispositivo.

public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Maui.ApplicationModel.Communication.Contact>> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Maui.ApplicationModel.Communication.Contact>>
Public Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of Contact))

Parametri

cancellationToken
CancellationToken

Token che può essere usato per annullare l'operazione.

Restituisce

Raccolta di contatti nel dispositivo.

Si applica a