Chinese Simplified (简体中文)

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

ILicensingConnectionRecoveryCallback

IEngine::SetLicensingConnectionRecoveryCallback

9/17/2024 3:14:41 PM

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.