Data.DBXCommon.TDBXErrorEvent

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
type
typedef
Visibility: public
Source:
Data.DBXCommon.pas
Data.DBXCommon.hpp
Unit: Data.DBXCommon
Parent: Data.DBXCommon

Delphi

TDBXErrorEvent = procedure(DBXError: TDBXError) of object;

C++

typedef void __fastcall (__closure *TDBXErrorEvent)(TDBXError* DBXError);

Description

Event handler for TDBXConnection.OnErrorEvent property.

TDBXErrorEvent is an event handler that can be set on the TDBXConnection.OnErrorEvent property. This event is called just before a TDBXError exception is raised. This allows implementors to perform processing before the exception is raised. dbExpress VCL components use this event to raise an exception of a different type.

See Also