IGraphClientAsync.UpdateCalendarItemAsync

UpdateCalendarItemAsync(MapiCalendar, CancellationToken)

Asynchronously creates MapiCalendar in specified calendar.

public Task<MapiCalendar> UpdateCalendarItemAsync(MapiCalendar mapiCalendar, 
    CancellationToken cancellationToken = default)
ParameterTypeDescription
mapiCalendarMapiCalendarMapiCalendar to be created.
cancellationTokenCancellationTokenA cancellation token to observe while waiting for the task to complete.

Return Value

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

See Also


UpdateCalendarItemAsync(MapiCalendar, UpdateSettings, CancellationToken)

Asynchronously updates MapiCalendar.

public Task<MapiCalendar> UpdateCalendarItemAsync(MapiCalendar mapiCalendar, 
    UpdateSettings updateSettings, CancellationToken cancellationToken = default)
ParameterTypeDescription
mapiCalendarMapiCalendarMapiCalendar to be updated.
updateSettingsUpdateSettingsUpdate settings.
cancellationTokenCancellationTokenA cancellation token to observe while waiting for the task to complete.

Return Value

A task that represents the asynchronous operation. The task result contains the updated MapiCalendar.

See Also