Answers
This section contains the answers to the Objective Reviews and the Thought Experiments.
Objective 5.1: Review
Correct Answers: A, C, and D
Correct: Windows logs unhandled exception information to the Event Log. However, this is often insufficient to identify the source of a problem. You can add more context information based on the current state of the application to simplify troubleshooting.
Incorrect: Setting Handled to True allows the application to continue running in a potentially unstable condition. Always set Handled to False.
Correct: Users can often provide information about the context of an error that you could not gather otherwise.
Correct: You can handle DispatcherUnhandledException to catch unhandled exceptions before Windows does. ...
Get MCPD 70-518 Exam Ref: Designing and Developing Windows® Applications Using Microsoft® .NET Framework 4 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.