IContacts.GetAllAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a collection of all the contacts on the device.
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))
Parameters
- cancellationToken
- CancellationToken
A token that can be used for cancelling the operation.
Returns
A collection of contacts on the device.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.