IGraphClientAsync.CreateCalendarItemAsync

IGraphClientAsync.CreateCalendarItemAsync method

Asynchronously creates MapiCalendar in specified calendar.

public Task<MapiCalendar> CreateCalendarItemAsync(string calId, MapiCalendar mapiCalendar, 
    CancellationToken cancellationToken = default)
ParameterTypeDescription
calIdStringCalendar id.
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