IGraphClientAsync.DeleteTaskListAsync

IGraphClientAsync.DeleteTaskListAsync method

Asynchronously deletes a task list by its ID.

public Task DeleteTaskListAsync(string id, CancellationToken cancellationToken = default)
ParameterTypeDescription
idStringThe ID of the task list to delete.
cancellationTokenCancellationTokenA cancellation token to observe while waiting for the task to complete.

Return Value

A task that represents the asynchronous delete operation.

See Also