IGmailClientAsync.ClearCalendarAsync
IGmailClientAsync.ClearCalendarAsync method
Asynchronously clears all events from the specified calendar.
public Task ClearCalendarAsync(string calendarId, CancellationToken cancellationToken = default)
| Parameter | Type | Description |
|---|---|---|
| calendarId | String | The ID of the calendar to clear. |
| cancellationToken | CancellationToken | A cancellation token. |
Return Value
A task representing the asynchronous operation.
See Also
- interface IGmailClientAsync
- namespace Aspose.Email.Clients.Google
- assembly Aspose.Email