Skip to main content
Table of Contents

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

TMS.MCP.Client.Connection.hppPascalC++
procedure CancelRequest(AID: string; AReason: string = '');
void __fastcall CancelRequest(System::UnicodeString AID, System::UnicodeString AReason = System::UnicodeString());

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.