nerdexam
Microsoft

70-513 · Question #111

You are developing a Windows Communication Foundation (WCF) client application. You instantiate a client class that inherits from ClientBase. The client instance must always be shut down in such a…

The correct answer is D. Option D. See the full explanation below for the reasoning.

Question

You are developing a Windows Communication Foundation (WCF) client application. You instantiate a client class that inherits from ClientBase. The client instance must always be shut down in such a way that it can free up any resources it is referencing. You need to ensure that all exceptions are caught and the instance is always properly shut down. Which code segment should you use?

Exhibit

70-513 question #111 exhibit

Options

  • AOption A
  • BOption B
  • COption C
  • DOption D

How the community answered

(27 responses)
  • A
    7% (2)
  • B
    11% (3)
  • C
    4% (1)
  • D
    78% (21)

Community Discussion

No community discussion yet for this question.

Full 70-513 Practice