IAnalyticsMonitor TrackException Method (String, String, String, String).NET Progress Telerik Platform Analytics Monitor Documentation, API Reference, Online Help | WPF, Silverlight, WinForms, Windows Phone Application Analytics
This method should ONLY be used for interoperability between the .NET monitor an other technology stacks using the monitor (for instance for tracking "exceptions" from Windows COM or from a Cordova/PhoneGap layer). It should NOT be used from regular .NET applications; please use the plain TrackException(Exception) method instead.

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

void TrackException(
	string type,
	string reason,
	string stacktrace,
	string contextMessage
)

Parameters

type
Type: OnlineSystem String
The exception type
reason
Type: OnlineSystem String
The exception message
stacktrace
Type: OnlineSystem String
the location where the exception was raised
contextMessage
Type: OnlineSystem String
Information about the action being performed when the exception occurred in addition to time stamp and exception message, type and stack trace which are logged automatically
Remarks

The stacktrace allows you to identify precisely where the exception was raised. If you do not have a full stacktrace to pass then a common convention is to simply write the Class::MethodName here, e.g. "Utilities::CheckLength". Some compilers provide a predefined preprocessor-symbol for doing this, such as __FUNCSIG__ (class::functionname) or __FUNCTION__ (just functionname).
Examples

None given. If you need an example then you should not be calling this method.
See Also