试题详情
- 单项选择题 You are developing a Windows Communication Foundation (WCF) service. The following code defines and implements the service. (Line numbers are included for reference only.) 01 [ServiceContract(SessionMode = SessionMode.Allowed)] 02 public interface ICatchAll 03 { 04 [OperationContract(IsOneWay = false, Action = "*", ReplyAction = "*")] 05 Message ProcessMessage(Message message); 06 } 07 08 public class CatchAllService : ICatchAll 09 { 10 public Message ProcessMessage(Message message) 11 { 12 13 ... 14 return returnMsg; 15 } 16 }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 12?()
A、
B、
C、
D、
- B
关注下方微信公众号,在线模考后查看
热门试题
- Your network consis
- 你是一个WindowsXP网络的电脑管理
- TestKing.com u
- Yournetworkcontainsa
- Your company has a
- Youhaveacomputerthat
- You are th
- You work
- 你正在创建一个 Web 应用。你在 We
- Your company&e
- Youneedtoconfigurean
- You install&en
- Your network&e
- You have
- A Windows Communicat
- Your network consis
- 您管理着20台运行WindowsQ
- You are de
- You work
- 你有一台运行Windows