What should you recommend?

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?
A. Modify the Web service to throw custom exceptions derived from the Exception class.
B. Modify the Web service to throw exceptions of type FaultException.
C. Modify the Web service to throw exceptions of type InvalidOperationException.
D. Modify the Web service to throw custom exceptions derived from the ApplicationException class.

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.