IAnalyticsMonitor TrackException Method (Exception, String,  Object ).NET Progress Telerik Platform Analytics Monitor Documentation, API Reference, Online Help | WPF, Silverlight, WinForms, Windows Phone Application Analytics
Call to track an exception that occured in the application.

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

void TrackException(
	Exception exception,
	string contextMessageFormat,
	params Object[] args
)

Parameters

exception
Type: OnlineSystem Exception
The exception to be tracked
contextMessageFormat
Type: OnlineSystem String
A context message string containing the information about the action being performed when the exception occurred
args
Type:  OnlineSystem Object 
An object array containing zero or more objects to format the contextMessageFormat
Examples

An example of tracking an exception
try 
{
   // your application logic here
}
catch (Exception exc)
{
  // catch-all handle 
  monitor.TrackException(exc, "Some additional formatted information from {0}", something);
}
See Also