99色精品-9色在线-99色在线-99色视频 国产欧美日产一区二区三区_亚洲精品亚洲人成在线观看_四虎在线精品永久观看_免费一级a一片久久精

單項(xiàng)選擇題

You are developing a Windows Communication Foundation (WCF) service to provide an in-memory cache for many Web applications.The service contract is defined as follows. (Line numbers are included for reference only.)
01 [ServiceContract]
02 public interface IDataCache
03 {
04 ...
05 }06
07
08 public class DataCache : IDataCache
09 {
10 ...
11 }
You need to ensure that all users share the cache.
Which code segment should you insert at line 07?()

A. [ServiceBehavior(TransactionIsolationLevel = IsolationLevel.RepeatableRead)]
B. [ServiceBehavior(InstanceContextMode = InstanceContextMode.Single)]
C. [ServiceBehavior(InstanceContextMode = InstanceContextMode.PerSession)]
D. [ServiceBehavior(TransactionIsolationLevel = IsolationLevel.ReadComitted)]

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