TsgcWSAPIClient_MCP › Methods › TasksCancel
Asks the server to cancel a task (tasks/cancel).
procedure TasksCancel(const aTaskId: string);
| Name | Type | Description |
|---|---|---|
aTaskId | const string | Id of the task. |
Requires the protocol version 2026-07-28; in the legacy era the method raises an exception. The poller of the task is stopped. The final status is reported by the server as cancelled.
See Tasks.
MCP.TasksCancel(FTaskId);