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.
Syntax
C++
HRESULT OnDisconnect( VARIANT_BOOL* Result );
C#
bool OnDisconnect();
Visual Basic .NET
Function OnDisconnect() As Boolean
Parameters
- Result
- [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
17.09.2024 15:14:41