ITaskManagementConnector.DeleteTaskAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Delete a task from a task list.
public System.Threading.Tasks.Task DeleteTaskAsync(string listId, string taskId, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteTaskAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteTaskAsync (listId As String, taskId As String, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- listId
- String
ID of the list from which to delete the task.
- taskId
- String
ID of the task to delete.
- cancellationToken
- CancellationToken
The CancellationToken to monitor for cancellation requests. The default is None.