IGmailClientAsync.CreateExtCalendarAsync

CreateExtCalendarAsync(ExtendedCalendar, CancellationToken)

Asynchronously creates an extended calendar.

public Task<ExtendedCalendar> CreateExtCalendarAsync(ExtendedCalendar calendar, 
    CancellationToken cancellationToken = default)
ParameterTypeDescription
calendarExtendedCalendarThe calendar to create.
cancellationTokenCancellationTokenA cancellation token.

Return Value

A task that represents the asynchronous operation. The task result contains the created ExtendedCalendar.

See Also


CreateExtCalendarAsync(ExtendedCalendar, bool, CancellationToken)

Asynchronously creates an extended calendar with color format option.

public Task<ExtendedCalendar> CreateExtCalendarAsync(ExtendedCalendar calendar, 
    bool useColorRgbFormat, CancellationToken cancellationToken = default)
ParameterTypeDescription
calendarExtendedCalendarThe calendar to create.
useColorRgbFormatBooleanWhether to use RGB color format.
cancellationTokenCancellationTokenA cancellation token.

Return Value

A task that represents the asynchronous operation. The task result contains the created ExtendedCalendar.

See Also