TTMSMCPCustomClientConnection.CancelRequest Method
Asks the server to abandon a request that is still in flight.
API unit family: TMS.MCP.Client.Connection
Declaring type: TTMSMCPCustomClientConnection
Syntax
procedure CancelRequest(AID: string; AReason: string = '');
Remarks
This is a notification, so it is not acknowledged and the local bookkeeping for the request is left in place. A server that ignores the request may still answer it.
Parameters
| Name | Description |
|---|---|
AID |
Identifier of the request to abandon. |
AReason |
Optional explanation passed to the server; omitted from the message when empty. |