无码高清视频|成人自拍视频|欧美成人午夜无码A片秀色直播|草美女视频网站|美女被操网站在线观看

單項(xiàng)選擇題

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)

題目列表

你可能感興趣的試題

微信掃碼免費(fèi)搜題