AppTimeoutExpired() As Long

Description

This event is fired when HeartBeat is used and a form takes more than a pre-defined number of seconds to interpret. To set the maximum number of seconds a form is allowed, specify ItrpTimeout in the [Itrp] section in Ehlocal.ini.

Example:

[Itrp]
ItrpTimeout=10

The above example specifies that a form must not take more than 10 seconds to interpret. If the timeout is expired, the AppTimeoutExpired event is triggered.

This event can only be used in combination with the SetHeartBeat method. If SetHeartBeat is not used, the ItrpTimeout is ignored. Apart from firing the AppTimeoutExpired event, the application also stops sending heartbeats to the calling application to detect application malfunctions.

Parameters

None.

Return values

Ignored.

Suggested usage

To confirm that the Interpret module is up and running.

Application-level events