|IAnalyticsMonitorStop Method (TimeSpan)|
Call to stop the monitor. The monitor will attempt to save any pending state
to the storage and send the final tracking data to the servers. The waitForCompletion can be specified
to allow for the thread to wait for completion of data persistence and transmission. If the monitor cannot complete
before the specified time the call will return.
EQATEC.Analytics.Monitor (in EQATEC.Analytics.Monitor.dll) Version: 184.108.40.206 (3.2.1)
Sub Stop (
waitForCompletion As TimeSpan
- Type: SystemTimeSpan
The time to wait for the stop to complete successfully. Use Zero to avoid waiting for completion.
This call will attempt to send the final tracking data to the servers on a background thread and
by providing a waitForCompletion timeout you increase the chance that the monitor is able to
completion the transmission while the runtime and threadpools are still operational. If no timeout is specified
the monitors background threads and network connections may be removed as part of the process termination and thereby
leaving data in the cache to be delivered on the next startup.