nerdexam
Microsoft

70-513 · Question #230

You are developing a Windows Communication Foundation (WCF) service. The following code defines and implements the service. (Line numbers are included for reference only.) You need to ensure that…

The correct answer is B. Dim buffer As MessageBuffer = message. See the full explanation below for the reasoning.

Question

You are developing a Windows Communication Foundation (WCF) service. The following code defines and implements the service. (Line numbers are included for reference only.) You need to ensure that two identical copies of the received message are created in the service. Which code segment should you insert at line 14?

Exhibit

70-513 question #230 exhibit

Options

  • ADim msgCopy As Message = TryCast(
  • BDim buffer As MessageBuffer = message.
  • CDim msgCopy As Message = message
  • DDim buffer As MessageBuffer = message.

How the community answered

(59 responses)
  • A
    3% (2)
  • B
    75% (44)
  • C
    7% (4)
  • D
    15% (9)

Community Discussion

No community discussion yet for this question.

Full 70-513 Practice