I have application which use CCR thread. I place Causaltiy which catch any unhandled exception.
When that happen I want to terminate the application since it is not a recoverable exception.
I've try doing so by throwing exception from the CCR exception port handler but TaskExecutionWorker.HandleException catch the exception and just log it and the thread terminates, but the application keep on running.
I can use Environment.Exit or FailFast but this does not present the user with "we are sorry" message, but close the application without any message which is not good UX.