TTMSMCPCustomServer.UpdateTaskStatus Method
Moves a task to a new status and notifies the client that owns it. Use it to report progress from long-running work.
API unit family: TMS.MCP.Server
Declaring type: TTMSMCPCustomServer
Syntax
procedure UpdateTaskStatus(const ATaskId: string; AStatus: TTMSMCPTaskStatus; const AMessage: string = '');
void __fastcall UpdateTaskStatus(const System::UnicodeString ATaskId, TTMSMCPTaskStatus AStatus, const System::UnicodeString AMessage = System::UnicodeString());
Parameters
| Name | Description |
|---|---|
ATaskId |
Identifier of the task to update. |
AStatus |
New status to record. |
AMessage |
Optional human-readable note describing the change. |