可学答题网 > 问答 > MCTS(70-513)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

You are developing a Windows Communic


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
参考答案
参考解析:
分类:MCTS(70-513)题库
相关推荐

1、You are developing a Windows Communic

You are developing a Windows Communication Foundation (WCF) service that does not operate on a duplex channel.You find that operations do not s...

2、You are developing a Windows Communic

You are developing a Windows Communication Foundation (WCF) service to provide an in-memory cache for many Web applications.The service contract ...

3、You are developing a Windows Communic

You are developing a Windows Communication Foundation (WCF) service that will be hosted in Microsoft Internet Services (IIS) 7.0.The service must...

4、You are developing a Windows Communic

You are developing a Windows Communication Foundation (WCF) service. The service operation takes a customer number as the only argument and retu...

5、You are developing a Windows Communic

You are developing a Windows Communication Foundation (WCF) service.You need to enable security auditing for all events.What should you do?()A ...

6、You are developing a Windows Communic

You are developing a Windows Communication Foundation (WCF) service.You enable message logging, trace listeners, activity propagation, and tracing ...