Datasnap.DSHTTPCommon.TDSExecutionResponse.Create

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

constructor Create(Command: TDBXCommand; DBXConnection: TDBXConnection; LocalConnection: Boolean); overload; virtual;
constructor Create(ErrorMessage: string); overload; virtual;

C++

__fastcall virtual TDSExecutionResponse(Data::Dbxcommon::TDBXCommand* Command, Data::Dbxcommon::TDBXConnection* DBXConnection, bool LocalConnection)/* overload */;
__fastcall virtual TDSExecutionResponse(System::UnicodeString ErrorMessage)/* overload */;

Description

Creates a TDSExecutionResponse class instance.

The Create constructor creates a new instance of the TDSExecutionResponse class. There are two Create overloads, each one accepting different parameters.

The first Create overload creates a TDSExecutionResponse instance that can manage a command populated with results while the second Create overload creates a TDSExecutionResponse instance that manages an error message.

See Also