System.Classes.TReaderError

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TReaderError = procedure (Reader: TReader; const Message: string; var Handled: Boolean) of object;

C++

typedef void __fastcall (__closure *TReaderError)(TReader* Reader, const System::UnicodeString Message, bool &Handled);

Properties

Type Visibility Source Unit Parent
type
typedef
public
System.Classes.pas
System.Classes.hpp
System.Classes System.Classes

Description

TReaderError is a type of callback procedure called used internally by the TReader class ReadComponents method.

TReaderError is a type of call back procedure that is called by the TReader class OnError event.

Reader is a reference to the TReader instance that has encountered an error and invoked the callback procedure.

Message is the error message.

Handled is a set to false if you want the error to raise an exception. If you want processing to continue, set this value to true.

See Also