views:

157

answers:

1

I'm getting an odd result in a Composite Event handler in a Prism app I am writing. I created the event handler and put in an exception statement to verify that the handler is being called:

public void OnDateSelected(DateTime selectedDate)
{
    // Temporary code
    throw new ApplicationException("Not implemented yet.");
}

I run the app and raise the event. The event handler is called, but the exception does not stop execution. It is written to the output window, and the app exits the handler, but execution continues. There isn't a try-catch block anywhere in sight, so why isn't the exception interrupting execution? Thanks.

A: 

Is the code executed from the UI-thread?

Could you please paste the message that is written to the output window?

scim
A comment, rather than an answer, so not accepted.
David Veeneman
I am not going to get back to this issue for a while, so I will accept this answer simply to close the issue.
David Veeneman