Retrieves the identifier associated with the task, which was created by the middleware when a task input was sent.

C# |
public string Id { get; }

The identifier for the task

Within the scope of a Session, this task ID can be saved and compared with the task ID from a TaskOutputHandle to match a task input to the corresponding task response.