PreEmptive Analytics .NET API  1.3
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Public Attributes | List of all members
PreEmptive.Analytics.Common.ExceptionDataKeys Class Reference

These are keys that can be added or queried on the Exception.Data property. More...

Public Attributes

const string ExceptionMessage = "ExceptionMessage"
 [String] Overrides Exception's Message. More...
 
const string ExceptionName = "ExceptionName"
 [String] Overrides Exception's Class Name. More...
 
const string StackTrace = "StackTrace"
 [String] Overrides the Exception's Stack Trace. More...
 
const string StackTraceRegex = "StackTraceRegex"
 [String] A RegEx that defines the structure of the StackTrace Value. More...
 
const string IncludePreEmptiveAnalyticsFrames = "IncludePreEmptiveAnalyticsFrames"
 [Bool] A boolean that controls if calls in the PreEmptive Analytics API Framework are included in stack traces. More...
 

Detailed Description

These are keys that can be added or queried on the Exception.Data property.

Member Data Documentation

const string PreEmptive.Analytics.Common.ExceptionDataKeys.ExceptionMessage = "ExceptionMessage"

[String] Overrides Exception's Message.

const string PreEmptive.Analytics.Common.ExceptionDataKeys.ExceptionName = "ExceptionName"

[String] Overrides Exception's Class Name.

const string PreEmptive.Analytics.Common.ExceptionDataKeys.IncludePreEmptiveAnalyticsFrames = "IncludePreEmptiveAnalyticsFrames"

[Bool] A boolean that controls if calls in the PreEmptive Analytics API Framework are included in stack traces.

const string PreEmptive.Analytics.Common.ExceptionDataKeys.StackTrace = "StackTrace"

[String] Overrides the Exception's Stack Trace.

const string PreEmptive.Analytics.Common.ExceptionDataKeys.StackTraceRegex = "StackTraceRegex"

[String] A RegEx that defines the structure of the StackTrace Value.

The RegEx is split up using the following named groups:

  • type: A class containing a method in the stack.
  • meth: A method in the stack.
  • sig : The method's signature in the stack.
  • file: The file where the stack frame occured.
  • line: The line where the stack frame occured.

Take the following stacktrace line:

"Type->Method(void):File.cs:10"

You could use the following regex:

"^(?<type>.*)->(?<meth>.*)(?<sig>(.*))\:(?<file>.*)\:(?<line>.*)$"

The documentation for this class was generated from the following file: