Lightstreamer .Net Adapter 1.11.0
ContentsIndexHome
PreviousUpNext
IExceptionHandler.handleException Method

Called by the Remote Server upon an unexpected error. After this error, the correct Lightstreamer Server and Remote Server operation might be compromised. If this is the case, then Lightstreamer Server should be restarted and the Remote Server should be reinitialized (i.e. the process should be restarted or a new Server class instance should be used). 

The default handling, in case of a Remote Data Adapter, issues an asynchronous failure notification to the Proxy Adapter; this causes the closure of Lightstreamer Server, which, in turn, causes the communication channel to be closed. In case of a Remote Metadata Adapter, the default handling ignores the notification; however, as a consequence of the Remote Protocol being broken, the Proxy Adapter may return exceptions against one or more specific requests by Lightstreamer Kernel. 

 

C++
bool handleException(Exception exception);
C#
bool handleException(Exception exception);
Visual Basic
Function handleException(exception As Exception) As bool
Parameters 
Description 
Exception exception 
An Exception showing the cause of the problem. 

true to enable the default handling, false to suppress it.