FireDAC.Comp.Client.TFDExecuteErrorEvent
[–] Properties | |
---|---|
Type: type typedef
| |
Visibility: public | |
Source: FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp
| |
Unit: FireDAC.Comp.Client | |
Parent: FireDAC.Comp.Client |
Delphi
TFDExecuteErrorEvent = procedure (ASender: TObject; ATimes, AOffset: LongInt;
AError: EFDDBEngineException; var AAction: TFDErrorAction) of object;
C++
typedef void __fastcall (__closure *TFDExecuteErrorEvent)(System::TObject* ASender, System::LongInt ATimes, System::LongInt AOffset, Firedac::Stan::Error::EFDDBEngineException* AError, Firedac::Stan::Intf::TFDErrorAction &AAction);
Description
TFDExecuteErrorEvent is the function type for an OnExecuteError event.
TFDExecuteErrorEvent has the following parameters:
Parameter | Meaning |
---|---|
|
The reference to the dataset. |
|
The current Array DML size. If the full operation is split into several small operations (on Firebird, for example), |
|
The current Array DML offset. If there are skipped erroneous rows or the full operation is split into several small operations (on Firebird, for example), |
|
The original DBMS returned error. Check AError.Errors[i].RowIndex for the index of the erroneous row in the parameters array. |
|
The action dataset should take place after it returns from the event handler. |