Identifier for events that get sent when the communication with the browser failed.
Declaring type: BrowserEvent
Namespace: Vrml.EAI.Event
Assembly: VrmlEAI.NET
Collapse/Expand Syntax
C#
public const int CONNECTION_ERROR = 4
Collapse/Expand Remarks
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.
Collapse/Expand Example
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
    ...
}