IGmailClientAsync.ListAppointmentsAsync

IGmailClientAsync.ListAppointmentsAsync method

Asynchronously retrieves all appointments from the specified calendar.

public Task<Appointment[]> ListAppointmentsAsync(string calendarId, 
    CancellationToken cancellationToken = default)
ParameterTypeDescription
calendarIdStringThe ID of the calendar.
cancellationTokenCancellationTokenA cancellation token.

Return Value

A task that represents the asynchronous operation. The task result contains an array of Appointment.

See Also