IGmailClientAsync.GetAllGroupsAsync
IGmailClientAsync.GetAllGroupsAsync method
Asynchronously retrieves all contact groups for the user.
public Task<ContactGroupCollection> GetAllGroupsAsync(CancellationToken cancellationToken = default)
| Parameter | Type | Description |
|---|---|---|
| cancellationToken | CancellationToken | A cancellation token. |
Return Value
A task that represents the asynchronous operation. The task result contains the ContactGroupCollection.
See Also
- class ContactGroupCollection
- interface IGmailClientAsync
- namespace Aspose.Email.Clients.Google
- assembly Aspose.Email