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
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)- A3% (2)
- B75% (44)
- C7% (4)
- D15% (9)
Community Discussion
No community discussion yet for this question.
