nerdexam
Microsoft

70-513 · Question #53

A Windows Communication Foundation (WCF) service handles online order processing for your company. You discover that many requests are being made with invalid account numbers. You create a class…

The correct answer is D. public void AfterCall(string operationName, object[] outputs. See the full explanation below for the reasoning.

Question

A Windows Communication Foundation (WCF) service handles online order processing for your company. You discover that many requests are being made with invalid account numbers. You create a class named AccountNumberValidator that has a method named Validate. Before the message is processed, you need to validate account numbers with AccountNumberValidator and reject messages with invalid account numbers. You create a new class that implements the IParameterInspector interface. Which code segment should you use?

Options

  • Apublic void AfterCall(string operationName, object[] outputs,
  • Bpublic void AfterCall(string operationName, object[] outputs,
  • Cpublic void AfterCall(string operationName, object[] outputs,
  • Dpublic void AfterCall(string operationName, object[] outputs,

How the community answered

(52 responses)
  • A
    2% (1)
  • B
    4% (2)
  • C
    12% (6)
  • D
    83% (43)

Community Discussion

No community discussion yet for this question.

Full 70-513 Practice