Microsoft
70-513 · Question #46
70-513 Question #46: Real Exam Question with Answer & Explanation
Sign in or unlock 70-513 to reveal the answer and full explanation for question #46. The question stem and answer options stay visible for context.
Question
You are developing a client application that consumes a Windows Communication Foundation (WCF) service. The operation contract is as follows. [OperationContract] [FaultContract(typeof(SalesFault))] string GetSales(string saleId); The service configuration file contains the following line in the serviceBehaviors section. <behavior> <serviceDebug includeExceptionDetailInFaults="True"/> </behavior> A divide-by-zero exception is not being handled by the service. You need to ensure that the exception is caught in the client application. Which type of exception should the client catch?
Options
- ATimeoutException
- BFaultException
- CDivideByZeroException
- DFaultException<SalesFault>
Unlock 70-513 to see the answer
You've previewed enough free 70-513 questions. Unlock 70-513 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.