Suggested Change to WPF Sample

2 posts, 0 answers
  1. Mark
    Mark avatar
    2 posts
    Member since:
    Jul 2011

    Posted 15 Dec 2014 Link to this post

    Presently, the WPF Sample integration code does not catch exceptions like the winforms sample - this is pretty much the entire reason I want to use Analytics.

    I suggest changing the OnStartup method to:
    protected override void OnStartup(StartupEventArgs e)
                // your existing startup logic
                Monitor = AnalyticsMonitorFactory.CreateMonitor("<ID>");
                AppDomain.CurrentDomain.UnhandledException += (s, ev) =>

  2. Richard Flamsholt
    Richard Flamsholt avatar
    28 posts

    Posted 16 Dec 2014 Link to this post

    Hi Mark,

    Thanks for the input!

    So far we have largely let each user decide how precisely to use the monitor and what kind of exceptions to track.

    In the next release we'll take a much different approach and instead aim to automate as much as possible. That includes tracking this particular unhandled exception as well as several others, like e.g. Application.ThreadException. Your comment underlines this need so it's very welcome.

    And no, I'm afraid I don't have an exact date for when this next monitor version will be released.

    Richard Flamsholt
    EQATEC Application Analytics is now Telerik Analytics. For more information on the new name, plus what's new in Telerik Analytics, please, check out the Analytics Service Announcement.
Back to Top