Microsoft
70-518 · Question #14
70-518 Question #14: Real Exam Question with Answer & Explanation
Sign in or unlock 70-518 to reveal the answer and full explanation for question #14. The question stem and answer options stay visible for context.
Question
You are designing a complex and critical Windows desktop application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010. You plan to implement a logging strategy for the application. You need to record all unexpected errors that occur in the application. What should you do?
Options
- ASubscribe to the unhandled exception event handler for the AppDomain object.
- BSubscribe to the unhandled exception event handler for the application's dispatcher on the
- CCreate a generic catch (Exception e) block in the Main method of the application.
- DCreate a global WIN 32 unhandled exception filter.
Unlock 70-518 to see the answer
You've previewed enough free 70-518 questions. Unlock 70-518 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.