Microsoft
70-518 · Question #111
70-518 Question #111: Real Exam Question with Answer & Explanation
Sign in or unlock 70-518 to reveal the answer and full explanation for question #111. The question stem and answer options stay visible for context.
Question
You design a Windows Presentation Foundation (WPF) application that interacts with a Windows Communication Foundation (WCF) Web service. The WCF Web service throws exceptions of type Exception. The WPF application crashes when the WCF Web service throws an exception. You need to recommend an error-handling strategy that allows users to submit updated data to the WCF Web service without restarting the WPF application. What should you recommend?
Options
- AModify the Web service to throw exceptions of type FaultException.
- BModify the Web service to throw custom exceptions derived from the Exception class.
- CModify the Web service to throw exceptions of type InvalidOperationException.
- DModify the Web service to throw custom exceptions derived from the ApplicationException
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.