IGmailClientAsync.FetchCalendar2Async
IGmailClientAsync.FetchCalendar2Async method
Asynchronously fetches a calendar by its ID.
public Task<Calendar> FetchCalendar2Async(string calendarId,
CancellationToken cancellationToken = default)
| Parameter | Type | Description |
|---|---|---|
| calendarId | String | The calendar ID. |
| cancellationToken | CancellationToken | A cancellation token. |
Return Value
A task that represents the asynchronous operation. The task result contains the fetched Calendar.
See Also
- class Calendar
- interface IGmailClientAsync
- namespace Aspose.Email.Clients.Google
- assembly Aspose.Email