IGraphClientAsync.GetTaskListAsync

IGraphClientAsync.GetTaskListAsync method

Asynchronously fetches a task list by its ID.

public Task<TaskListInfo> GetTaskListAsync(string id, CancellationToken cancellationToken = default)
ParameterTypeDescription
idStringThe ID of the task list to fetch.
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 fetched TaskListInfo.

See Also