API:Datasnap.DSHTTPCommon.TDSServiceResponseHandler.AddCommandError
Delphi
procedure AddCommandError(ErrorMessage: string); override;
C++
virtual void __fastcall AddCommandError(System::UnicodeString ErrorMessage);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
public | Datasnap.DSHTTPCommon.pas Datasnap.DSHTTPCommon.hpp |
Datasnap.DSHTTPCommon | TDSServiceResponseHandler |
Description
Adds an error message to the handler. {{#multireplace:Datasnap.DSHTTPCommon.TDSServiceResponseHandler.AddCommandError|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Data.DBXCommon.TRequestCommandHandler.AddCommandError|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Data.DBXCommon.TRequestCommandHandler.AddCommandError|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Adds an error message to the handler.
AddCommandError is used to add an error message to the handler given by the ErrorMessage parameter.
Note: This method is abstract; you should use one of its descendent methods.