IGmailClientAsync.ListCalendarsAsync

ListCalendarsAsync(CancellationToken)

Asynchronously retrieves the list of calendars for the user.

public Task<ExtendedCalendar[]> ListCalendarsAsync(CancellationToken cancellationToken = default)
ParameterTypeDescription
cancellationTokenCancellationTokenA cancellation token.

Return Value

A task that represents the asynchronous operation. The task result contains an array of ExtendedCalendar.

See Also


ListCalendarsAsync(AccessRole, bool, CancellationToken)

Asynchronously retrieves the list of calendars for the user.

public Task<ExtendedCalendar[]> ListCalendarsAsync(AccessRole minAccessRole, bool showHidden, 
    CancellationToken cancellationToken = default)
ParameterTypeDescription
minAccessRoleAccessRoleThe minimum access role required.
showHiddenBooleanWhether to include hidden calendars.
cancellationTokenCancellationTokenA cancellation token.

Return Value

A task that represents the asynchronous operation. The task result contains an array of ExtendedCalendar.

See Also