Data.Bind.ObjectScope.TAdapterErrorAction

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TAdapterErrorAction = (aaFail, aaAbort, aaRetry);

C++

enum DECLSPEC_DENUM TAdapterErrorAction : unsigned char { aaFail, aaAbort, aaRetry };

Properties

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

Description

TAdapterErrorAction indicates how an application should respond to an adapter error condition.

TAdapterErrorAction is the type of parameter in certain adapter event handlers that indicates how the adapter should proceed after the event handler exits.

The following list summarizes the possible values:

  • aaFail - Abort the operation that led to an error and display an error message.
  • aaAbort - Abort the operation that led to an error without displaying a message.
  • daRetry - Repeat the operation that led to an error. The cause of the error should be corrected within the event handler before returning this value.