IGmailClientAsync.ImportAppointmentAsync

IGmailClientAsync.ImportAppointmentAsync method

Asynchronously imports an appointment into the specified calendar.

public Task<Appointment> ImportAppointmentAsync(string calendarId, Appointment appointment, 
    CancellationToken cancellationToken = default)
ParameterTypeDescription
calendarIdStringThe ID of the calendar.
appointmentAppointmentThe appointment to import.
cancellationTokenCancellationTokenA cancellation token.

Return Value

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

See Also