IGraphClientAsync.CreateTaskListAsync

IGraphClientAsync.CreateTaskListAsync method

Asynchronously creates a task list.

public Task<TaskListInfo> CreateTaskListAsync(TaskListInfo taskList, 
    CancellationToken cancellationToken = default)
ParameterTypeDescription
taskListTaskListInfoThe TaskListInfo to create.
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 TaskListInfo.

See Also