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