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