Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 94113
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T23:27:02+00:00 2026-05-10T23:27:02+00:00

I started a new WPF project in VS2008 and then added some code to

  • 0

I started a new WPF project in VS2008 and then added some code to trap DispatcherUnhandledException. Then I added a throw exception to Window1 but the error is not trapped by the handler. Why?

   public App()     {         this.DispatcherUnhandledException += new DispatcherUnhandledExceptionEventHandler(App_DispatcherUnhandledException);      }      void App_DispatcherUnhandledException(object sender, DispatcherUnhandledExceptionEventArgs e)     {         System.Windows.MessageBox.Show(string.Format('An error occured: {0}', e.Exception.Message), 'Error');         e.Handled = true;     }   void Window1_MouseDown(object sender, MouseButtonEventArgs e)     {         throw new NotImplementedException();     } 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T23:27:02+00:00Added an answer on May 10, 2026 at 11:27 pm

    This can happen because of the way you have the debugger handling exceptions — Debug/Exceptions… should allow you to configure exactly how you want it handled.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently started a new webforms project and decided to separate the business classes
Hi all I've just started a new project using Visual Web Developer 2008 Express
I just started to read about this new technology... Does someone have some knowledge
I've recently started a new project, and we plan to create this in Silverlight.
I'm starting a new project in Wpf, and am now looking into using Prism.
I started a hobby project to learn about WPF and in my reasearch i
I'm not even sure if this is even possible, but I've just started WPF
I have started a new project consisting of one main.cpp file and an additional
I just started a new Android project, WeekendStudy to continue learning Android development and
At a new job I started, we have both a Java application that handles

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.