Data.Bind.ObjectScope.TAdapterErrorAction

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: enum
Visibility: public
Source:
Data.Bind.ObjectScope.pas
Data.Bind.ObjectScope.hpp
Unit: Data.Bind.ObjectScope
Parent: Data.Bind.ObjectScope

Delphi

TAdapterErrorAction = (aaFail, aaAbort, aaRetry);

C++

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

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.