IGmailClientAsync.MoveAppointmentAsync

MoveAppointmentAsync(string, string, string, CancellationToken)

Asynchronously moves an appointment to another calendar.

public Task<Appointment> MoveAppointmentAsync(string sourceCalendarId, 
    string destinationCalendarId, string appointmentId, 
    CancellationToken cancellationToken = default)
ParameterTypeDescription
sourceCalendarIdStringThe ID of the source calendar.
destinationCalendarIdStringThe ID of the destination calendar.
appointmentIdStringThe ID of the appointment.
cancellationTokenCancellationTokenA cancellation token.

Return Value

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

See Also


MoveAppointmentAsync(string, string, string, bool, CancellationToken)

Asynchronously moves an appointment to another calendar with notification option.

public Task<Appointment> MoveAppointmentAsync(string sourceCalendarId, 
    string destinationCalendarId, string appointmentId, bool sendNotifications, 
    CancellationToken cancellationToken = default)
ParameterTypeDescription
sourceCalendarIdStringThe ID of the source calendar.
destinationCalendarIdStringThe ID of the destination calendar.
appointmentIdStringThe ID of the appointment.
sendNotificationsBooleanWhether to send notifications.
cancellationTokenCancellationTokenA cancellation token.

Return Value

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

See Also