IGmailClientAsync.ClearCalendarAsync

IGmailClientAsync.ClearCalendarAsync method

Asynchronously clears all events from the specified calendar.

public Task ClearCalendarAsync(string calendarId, CancellationToken cancellationToken = default)
ParameterTypeDescription
calendarIdStringThe ID of the calendar to clear.
cancellationTokenCancellationTokenA cancellation token.

Return Value

A task representing the asynchronous operation.

See Also