皮皮学,免费搜题
登录
搜题
【单选题】
You are integrating a Windows Communication Foundation (WCF) service within an enterprise-wide Service Oriented Architecture (SOA).Your service has the following service contract: [ServiceContract]public class CreditCardConfirmationService { [OperationContract] boolean ConfirmCreditCard(string ccNumber); double OrderAmount(int orderNumber);} You need to allow the code in the ConfirmCreditCard method to participate automatically in existing transactions.If there is no existing transaction, a new transaction must be created automatically. What should you do?()
A.
Inside the ConfirmCreditCard method, surround the code that must participate in the transaction with a using(new TransactionScope()) block.
B.
Inside the ConfirmCreditCard method, surround the code that must participate in the transaction with a using(new CommittableTransaction()) block.
C.
Add an [OperationBehavior(TransactionScopeRequired=true)] attribute to the ConfirmCreditCard method.
D.
Add an [OperationBehavior(TransactionAutoComplete=true)] attribute to the ConfirmCreditCard method.
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【判断题】“音乐与相关文化”是一个相对独立的领域,他和音乐鉴赏、音乐表现、音乐创造等活动没有关联。
A.
正确
B.
错误
【判断题】使用万用表前,应对需要用到的功能进行校零等校准性测试。
A.
正确
B.
错误
【单选题】药品生产企业的验证项目不包括
A.
厂房设施
B.
生产设备
C.
生产工艺
D.
组织机构
E.
清洁卫生
【单选题】万用表使用前需要进行校零,选择的挡位是
A.
200Ω
B.
2k欧姆
C.
20v
D.
200v
【判断题】横撑式支撑根据挡土板的不同分为 水平挡土板 和 垂直挡土板 。
A.
正确
B.
错误
【判断题】万用表使用前要进行校零。
A.
正确
B.
错误
【多选题】以下( )属于企业选择进入国际市场的营销规划具体内容
A.
销售量目标
B.
利润目标
C.
投资收益率目标
D.
营销努力的目标
【多选题】药品生产企业的验证项目应包括
A.
厂房设施
B.
生产设备
C.
生产工艺
D.
组织机构
E.
环境卫生
【多选题】药品生产企业的验证项目包括(     ) A.  厂房设施;B.生产设备;C.生产工艺; D.组织机构; E.环境卫生;
A.
  厂房设施;
B.
生产设备;
C.
生产工艺;
D.
组织机构;
E.
环境卫生;
【单选题】土壁支撑中横撑式支撑根据挡土板的不同分为( )和( )。
A.
水平挡土板和垂直挡土板
B.
水平挡土板和斜面挡土板
C.
斜面挡土板和垂直挡土板
D.
曲面挡土板和垂直挡土板
相关题目: