IAnalyticsMonitor Stop Method (TimeSpan).NET Progress Telerik Platform Analytics Monitor Documentation, API Reference, Online Help | WPF, Silverlight, WinForms, Windows Phone Application Analytics
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.

Namespace: EQATEC.Analytics.Monitor
Assembly: EQATEC.Analytics.Monitor (in EQATEC.Analytics.Monitor.dll) Version: (3.2.144)

void Stop(
	TimeSpan waitForCompletion


Type: OnlineSystem TimeSpan
The time to wait for the stop to complete successfully. Use OnlineZero 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.
See Also