IGraphClientAsync.UpdateTaskAsync

UpdateTaskAsync(MapiTask, CancellationToken)

Asynchronously updates a task.

public Task<MapiTask> UpdateTaskAsync(MapiTask task, CancellationToken cancellationToken = default)
ParameterTypeDescription
taskMapiTaskThe MapiTask to update.
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 MapiTask.

See Also


UpdateTaskAsync(MapiTask, UpdateSettings, CancellationToken)

Asynchronously updates a task with optional update settings.

public Task<MapiTask> UpdateTaskAsync(MapiTask task, UpdateSettings updateSettings, 
    CancellationToken cancellationToken = default)
ParameterTypeDescription
taskMapiTaskThe MapiTask to update.
updateSettingsUpdateSettingsThe update settings to use.
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 MapiTask.

See Also