Error Event
Fires if an unhandled error occurs during an event.
Syntax
typedef struct { int ErrorCode; String Description; } TcbsCBDriveErrorEventParams; typedef void __fastcall (__closure *TcbsCBDriveErrorEvent)(System::TObject* Sender, TcbsCBDriveErrorEventParams *e); __property TcbsCBDriveErrorEvent OnError = { read=FOnError, write=FOnError };
Remarks
This event fires if an unhandled error occurs during another event. Developers can use this information to help track down unhandled errors in an application's event handlers.