nerdexam
Microsoft

70-518 · Question #155

70-518 Question #155: Real Exam Question with Answer & Explanation

Sign in or unlock 70-518 to reveal the answer and full explanation for question #155. The question stem and answer options stay visible for context.

Question

You are designing a Windows Presentation Foundation (WPF) application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010. The application will consist of a user interface (UI) tier and a middle tier. The middle tier will be implemented by using Windows Communication Foundation (WCF). You plan to design the exception handling strategy for the application. Each method in the middle tier will contain the following catch block. Catch e As ArgumentNullException Throw e When testing the application, you discover that all ArgumentNullExceptions that occur in the middle tier do not contain accurate stack trace information. What should you do?

Options

  • ACreate an ArgumentNullException handler in the UI tier.
  • BUse a DispatcherUnhandledExceptionEvent handler in the UI tier.
  • CUse a DispatcherUnhandledExceptionEvent handler in the middle tier.
  • DRemove the exception parameter from the ArgumentNullException handler.

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.

Full 70-518 Practice