TaskListPlugin.AddTaskAsync(String, String, CancellationToken) Method

Definition

Add a task to a To-Do list with an optional reminder.

[Microsoft.SemanticKernel.KernelFunction]
public System.Threading.Tasks.Task AddTaskAsync(string title, string? reminder = default, System.Threading.CancellationToken cancellationToken = default);
[<Microsoft.SemanticKernel.KernelFunction>]
member this.AddTaskAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function AddTaskAsync (title As String, Optional reminder As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

title
String
reminder
String
cancellationToken
CancellationToken

Returns

Attributes

Applies to