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

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

void TrackFeatureCancel(
	string featureName
)

Parameters

featureName
Type: OnlineSystem String
The name of the feature. If it is null or empty the request is ignored.
Examples

The following shows an example of how you can track feature time in your application
try 
{
   m_monitor.TrackFeatureStart("SomeClass.Process");
   //some process logic to time
   m_monitor.TrackFeatureStop("SomeClass.Process");
}
catch(Exception exc)
{
  m_monitor.TrackFeatureCancel("SomeClass.Process");
  throw;
}
See Also