API:Datasnap.DSHTTPCommon.TDSServiceResponseHandler.AddCommandError
| [–] Properties | |
|---|---|
| Type: procedure function
| |
| Visibility: public | |
| Source: Datasnap.DSHTTPCommon.pas Datasnap.DSHTTPCommon.hpp
| |
| Unit: Datasnap.DSHTTPCommon | |
| Parent: TDSServiceResponseHandler | |
Delphi
procedure AddCommandError(ErrorMessage: string); override;
C++
virtual void __fastcall AddCommandError(System::UnicodeString ErrorMessage);
Description
Adds an error message to the handler.
Datasnap.DSHTTPCommon.TDSServiceResponseHandler.AddCommandError inherits from Data.DBXCommon.TRequestCommandHandler.AddCommandError. All content below this line refers to Data.DBXCommon.TRequestCommandHandler.AddCommandError.
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.