OnDisconnect Method of the ILicensingConnectionRecoveryCallback Interface

This method is implemented on the client-side. ABBYY FineReader Engine calls this method when the connection to the license server is broken. Typical implementation of this method could make several attempts at re-establishing connection and, if the attempt is successful, restart the licensing using the RestartLicensing method of the Engine object.



HRESULT OnDisconnect( VARIANT_BOOL* Result );


bool OnDisconnect();

Visual Basic .NET

Function OnDisconnect() As Boolean


[out, retval] This parameter must return TRUE if the connection is re-established and the execution of the program can be continued.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.

See also



24.03.2023 8:51:52

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.