Click or drag to resize
IAnalyticsMonitor Methods

The IAnalyticsMonitor type exposes the following members.

Methods
  NameDescription
Public methodForceSync
Explicitly force a synchonization of the current information with the analytics server.
Public methodSetInstallationInfo(String)
Associates an installation ID with the current session
Public methodSetInstallationInfo(String, IDictionaryString, String)
Associates an installation ID with the current session and optionally a dictionary of installation properties that allows you to add additional installation meta data for the session
Public methodStart
Call to start the monitor. When started the monitor will begin collecting data from the calls and send them asynchronously to the EQATEC Analytics servers on background threads
Public methodStop
Call to stop the monitor. Call will attempt to save any pending state to the storage and send the final tracking data to the servers.
Public methodStop(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.
Public methodCode exampleTrackException(Exception)
Call to track an exception that occured in the application.
Public methodCode exampleTrackException(Exception, String)
Call to track an exception that occured in the application.
Public methodCode exampleTrackException(Exception, String, Object)
Call to track an exception that occured in the application.
Public methodCode exampleTrackFeature
Register a feature usage. It is recommended that related features are grouped by using simple dot-notation in the featureName such as e.g. relating print to pdf and print to file by naming the features "print.pdf" and "print.file" respectively
Public methodCode exampleTrackFeatureCancel
Stops an ongoing timing of a feature from any previous call to TrackFeatureStart(String) with similar featureName without registering the time spent. Use this call if the feature being tracked did not complete as expected, e.g. was interupted by an exception. The call can safely be made even if no TrackFeatureStart has been made.
Public methodCode exampleTrackFeatures
Register a number of feature usages. For the individual feature names, it is recommended that related features are grouped by using simple dot-notation such as e.g. relating print to pdf and print to file by naming the features "print.pdf" and "print.file" respectively. This allow call is semantically equivalent to calling TrackFeature(String) multiple times.
Public methodCode exampleTrackFeatureStart
Register the start of a feature usage. Use this with TrackFeatureStop(String) to track how long a feature is used.
Public methodCode exampleTrackFeatureStop
Register the end of a feature usage stared by TrackFeatureStart(String) with a similar featureName.
Public methodCode exampleTrackFeatureValue
Register a value on a specific feature.
Top
See Also