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

You are modifying an existing Windows


You are modifying an existing Windows Communication Foundation (WCF) service that is defined as follows:[ServiceContract]public interface IMessageProcessor { [OperationContract] void ProcessMessages();}public class MessageProcessor: IMessageProcessor { public void ProcessMessage(); SubmitOrder();}SubmitOrder makes a call to another service. The ProcessMessage method does not perform as expected under a heavy load.You need to enable processing of multiple messages. New messages must only be processed when the ProcessMessage method is not processing requests,or when it is waiting for calls to SubmitOrder to return.Which attribute should you apply to the MessageProcessor class?()

  • A CallbackBehavior(ConcurrencyMode=ConcurencyMode.Reentrant)
  • B CallbackBehavior(ConcurrencyMode=ConcurrencyMode.Multiple)
  • C ServiceBehavior(ConcurrencyMode=ConcurrencyMode.Reentrant)
  • D ServiceBehavior(ConcurrencyMode=ConcurrencyMode.Multiple)
参考答案
参考解析:
分类:MCTS(70-513)题库
相关推荐

1、You have an existing

You have an existing Active Directory site named Site1. You create a new Actrve D...

2、You have an existing Windows Communica

You have an existing Windows Communication Foundation (WCF) Web service. The Web service is not responding to messages larger than 64 KB. You ...

3、You have an existing

You have an existing Active Directory site named Site1. You create a new Active D...

4、You have an existing Windows Communica

You have an existing Windows Communication Foundation (WCF) service. You need to ensure that other services are notified when the service is started.What should you do?()ABCD

5、Your company has an existing Windows C

Your company has an existing Windows Communication Foundation (WCF) service that allows business partners to place orders. The service uses netMs...

6、You modify an existing

You modify an existing Microsoft ASP.NET application by using the Microsoft .NET Framework version&e...