API:Datasnap.DSHTTPCommon.TDSServiceResponseHandler.AddCommandError

From RAD Studio API Documentation
Jump to: navigation, search

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.

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.

See Also