IGmailClientAsync.FetchCalendarAsync

IGmailClientAsync.FetchCalendarAsync method

Asynchronously fetches an extended calendar by its ID.

public Task<ExtendedCalendar> FetchCalendarAsync(string calendarId, 
    CancellationToken cancellationToken = default)
ParameterTypeDescription
calendarIdStringThe calendar ID.
cancellationTokenCancellationTokenA cancellation token.

Return Value

A task that represents the asynchronous operation. The task result contains the fetched ExtendedCalendar.

See Also