OnError(Element: Integer; ErrorType: Integer; Error: IException): RdsBatchCallbackContinue;
OnError(
Element: UInteger;
ErrorType: Integer;
Error: Prognoz.Platform.Interop.ForeSystem.Exception): Prognoz.Platform.Interop.Rds.RdsBatchCallbackContinue;
Element. Key of element that has caused an error.
ErrorType. Error type.
Error. Description of exception.
The OnError method implements an event that occurs if error occurs during batch execution.
The ErrorType parameter returns error type that is specific for each type of batches. For example, the RdsBatchDeleteError enumeration passes error type for the batch that is used to remove elements.
OnError should return value that determines the next action. It is set by element of the RdsBatchCallbackContinue enumeration.
The method use is given in the example for IRdsDictionaryBatch.Callback.
See also: