Data.Bind.ObjectScope.TAdapterErrorEvent
[–] Properties | |
---|---|
Type: type typedef
| |
Visibility: public | |
Source: Data.Bind.ObjectScope.pas Data.Bind.ObjectScope.hpp
| |
Unit: Data.Bind.ObjectScope | |
Parent: Data.Bind.ObjectScope |
Delphi
TAdapterErrorEvent = procedure(Adapter: TBindSourceAdapter; E: EBindCompError;
var Action: TAdapterErrorAction) of object;
C++
typedef void __fastcall (__closure *TAdapterErrorEvent)(TBindSourceAdapter* Adapter, Data::Bind::Components::EBindCompError* E, TAdapterErrorAction &Action);
Description
TAdapterErrorEvent is an event handler that occurs when TBindSourceAdapter raises an exception when attempting to insert, edit, update, or delete data source items or applying updates to the data source.
TAdapterErrorEvent has three parameters:
- Adapter that specifies the adapter that generated the 'exception'.
- E is the exception.
- Action defined by the developer with one of the possible actions defined by TAdapterErrorAction (aaFail, aaAbort, or aaRetry).