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