IGmailClientAsync.FetchCalendar2Async

IGmailClientAsync.FetchCalendar2Async method

Asynchronously fetches a calendar by its ID.

public Task<Calendar> FetchCalendar2Async(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 Calendar.

See Also