Data.Bind.ObjectScope.TAdapterErrorEvent

From RAD Studio API Documentation
Jump to: navigation, search

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);

Properties

Type Visibility Source Unit Parent
type
typedef
public
Data.Bind.ObjectScope.pas
Data.Bind.ObjectScope.hpp
Data.Bind.ObjectScope Data.Bind.ObjectScope

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).

See Also