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)
ParameterTypeDescription
calendarIdStringThe ID of the calendar.
appointmentIdStringThe ID of the appointment.
cancellationTokenCancellationTokenA cancellation token.

Return Value

A task that represents the asynchronous operation. The task result contains the fetched Appointment.

See Also