Skip to main content
Table of Contents

TTMSMCPServer.EnableTasks Property

When True, the task capability is advertised during initialization and a client may ask for a call to be executed asynchronously, receiving a task handle instead of a result.

API unit family: TMS.MCP.Server Declaring type: TTMSMCPServer Inherited from: TTMSMCPCustomServer Type: Boolean

Syntax

TMS.MCP.Server.hppPascalC++
property EnableTasks: Boolean;
__property bool EnableTasks = {read=FEnableTasks, write=SetEnableTasks, default=0};

Default: False

Remarks

This setting alone is not sufficient: tasks are only honored on a session whose negotiated protocol version supports them, which is 2025-11-25 or later. A client on an earlier version always receives a direct result. Default is False.