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 Windows 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.

See also

BatchProcessor

17.09.2024 15:14:41

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.