Datasnap.DSHTTPCommon.TDSExecutionResponse.ErrorMessage

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: public
Source:
Datasnap.DSHTTPCommon.pas
Datasnap.DSHTTPCommon.hpp
Unit: Datasnap.DSHTTPCommon
Parent: TDSExecutionResponse

Delphi

property ErrorMessage: string read FErrorMessage;

C++

__property System::UnicodeString ErrorMessage = {read=FErrorMessage};

Description

Specifies an error message that is managed by the TDSExecutionResponse class.

ErrorMessage is a read-only property that specifies an error message that is managed by the TDSExecutionResponse class. The ErrorMessage is a string that holds a custom error message that was passed as a parameter to the Create constructor. In this case the Command is set to nil.

Note: ErrorMessage and Command cannot both be set.

See Also