IGmailClientAsync.ListCalendarsAsync
Contents
[
Hide
]ListCalendarsAsync(CancellationToken)
Asynchronously retrieves the list of calendars for the user.
public Task<ExtendedCalendar[]> ListCalendarsAsync(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 ExtendedCalendar.
See Also
- class ExtendedCalendar
- interface IGmailClientAsync
- namespace Aspose.Email.Clients.Google
- assembly Aspose.Email
ListCalendarsAsync(AccessRole, bool, CancellationToken)
Asynchronously retrieves the list of calendars for the user.
public Task<ExtendedCalendar[]> ListCalendarsAsync(AccessRole minAccessRole, bool showHidden,
CancellationToken cancellationToken = default)
| Parameter | Type | Description |
|---|---|---|
| minAccessRole | AccessRole | The minimum access role required. |
| showHidden | Boolean | Whether to include hidden calendars. |
| cancellationToken | CancellationToken | A cancellation token. |
Return Value
A task that represents the asynchronous operation. The task result contains an array of ExtendedCalendar.
See Also
- class ExtendedCalendar
- enum AccessRole
- interface IGmailClientAsync
- namespace Aspose.Email.Clients.Google
- assembly Aspose.Email