TaskListPlugin.AddTaskAsync(String, String, CancellationToken) 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.
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