nerdexam
Microsoft

70-513 · Question #162

You are creating a Windows Communication Foundation (WCF) service that is implemented as folks. (Line numbers are included for reference only.) 01 <ServiceContract() 02…

The correct answer is D. After line 05, add the following line. See the full explanation below for the reasoning.

Question

You are creating a Windows Communication Foundation (WCF) service that is implemented as folks. (Line numbers are included for reference only.) 01 <ServiceContract() 02 <ServiceBehaior(lncludeExceptionDetailInFaults: Time)> 03 Public Class OrderService 05 eCNperationCortracto()> O6 Putdic Sub Submit Order(ByVal anOrder As Order) 08 Try 09. 10 Catch ex As D wide By Zero Exception 12 End Try 13 End Sub 15 End Class You need to ensure that the sack trace details of the exception are not included in the error information sent to the client. What should you do?

Options

  • AReplace line 11 with the following line.
  • BReplace line 11 with the following line.
  • CAfter line 05, add the following line.
  • DAfter line 05, add the following line.

How the community answered

(29 responses)
  • A
    7% (2)
  • B
    3% (1)
  • C
    14% (4)
  • D
    76% (22)

Community Discussion

No community discussion yet for this question.

Full 70-513 Practice