ApplicationUsageHelper and ignoring certain exceptions

Thread is closed for posting
2 posts, 0 answers
  1. Jessi
    Jessi avatar
    6 posts
    Member since:
    May 2014

    Posted 04 Mar 2015 Link to this post

    Can certain exceptions be ignored when using applicationusagehelper? There's one exception caused by a 3rd party lib that I can't do anything about, normally I would handle this exception in Application_UnhandledException() method and ignore it, but the telerik handler doesn't seem to have this capability.  Can you help?
  2. Rosy Topchiyska
    Rosy Topchiyska avatar
    586 posts

    Posted 09 Mar 2015 Link to this post

    Hello Jessi,

    Thank you for contacting us.

    You can use the ExceptionOccurredEventArgs.Cancel property and set it to true to prevent the message box from displaying:
    private void RadDiagnostics_ExceptionOccurred(object sender, ExceptionOccurredEventArgs e)
        if (e.Exception is SpecialException)
            e.Handled = true;
            e.Cancel = true;
        e.Cancel = false;

    If you still want to get reports about this exception, you can find more information in this article from our online documentation: Anonymous crash reports.

    I hope this helps. Please, let us know if you have further questions.

    Rosy Topchiyska

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top