TReaderError is a type of callback procedure called used internally by the TReader class ReadComponents method.
TReaderError = procedure (Reader: TReader; const Message: string; var Handled: Boolean) of object;
(Reader: TReader; const Message: string; var Handled: Boolean) ( TReaderError)();
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.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!