Chinese Simplified (简体中文)

IAsyncProcessingCallback Interface

This is a callback interface that is used for managing the work of the BatchProcessor object and reporting errors, occurred during processing. This interface is implemented on the client-side.

An object receiving notifications through this interface's methods may do the following inside the methods' implementation:

  • Process any system messages, which is useful in applications having User Interface, to avoid the effect that the application "is not responding" during long operations.
  • Report errors occurred during processing to the user.
  • Cancel processing.

Methods

Name Description
OnError Delivers to the client descriptions of the errors appeared during processing.
OnProgress Allows the client to cancel processing.

Input parameter

The IBatchProcessor::Start method receives a pointer to this interface as an input parameter.

Remarks

This interface does not work if the Engine object is loaded as an out-of-process server.

See also

BatchProcessor

03.07.2024 8:50:25

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.