IGmailClientAsync.GetAllContactsAsync
IGmailClientAsync.GetAllContactsAsync method
Asynchronously retrieves all contacts for the user.
public Task<Contact[]> GetAllContactsAsync(CancellationToken cancellationToken = default)
| Parameter | Type | Description |
|---|---|---|
| cancellationToken | CancellationToken | A cancellation token. |
Return Value
A task that represents the asynchronous operation. The task result contains an array of Contact.
See Also
- class Contact
- interface IGmailClientAsync
- namespace Aspose.Email.Clients.Google
- assembly Aspose.Email