IBX.IBEvents.TErrorEvent

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

TErrorEvent=procedure( Sender: TObject; ErrorCode:integer)of object;

C++

typedef void __fastcall (__closure *TErrorEvent)(System::TObject* Sender, int ErrorCode);

Propriétés

Type Visibilité  Source Unité  Parent
type
typedef
public
IBX.IBEvents.pas
IBX.IBEvents.hpp
IBX.IBEvents IBX.IBEvents

Description

TErrorEvent est le type des gestionnaires d'événements qui répondent aux exceptions se produisant pendant la surveillance des événements InterBase.

Sender est le composant TIBEvents qui rencontre l'exception.

Si l'exception est un objet EIBError, ErrorCode est le code d'erreur InterBase qu'il représente. Sinon, ErrorCode a la valeur 0.