The Browser object issues a CONNECTION_ERROR event
when the communication with the browser failed. This can happen
anytime and usually means that you have to reinitialize the whole
session by creating a new Browser object.
The following example demonstrates how to check if a
CONNECTION_ERROR event happened:
C#
Vrml.EAI.Event.BrowserEvent evt = ...;
if (evt.ID == Vrml.EAI.Event.BrowserEvent.CONNECTION_ERROR)
{
// An error occurred when communicating with the browser
...
}