移动端

  • 题王微信公众号

    题王微信公众号

    微信搜“题王网”真题密题、最新资讯、考试攻略、轻松拿下考试

单选题

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?()

发布日期:2020-04-10

You are integrating a Windows Communication Founda...
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.

题王网让考试变得更简单

扫码关注题王,更多免费功能准备上线!

此试题出现在

CMS专题

CMS专题

去刷题
热门试题热门资讯 相关试题

古建筑保护区消防安全评估山西应县木塔,始建于辽代清宁二年(公元1056年),距今948年,高约67.3m,是现存塔身最高、年代最古老的木结构佛塔,其独特的价值就在于它是工艺精湛的全木结构的建筑。古建筑消防设计应牢固树立“预防为主,防消结合,以自救为主”的原则,应在不破坏古建筑原貌的基础上,确保消防安全。古建筑内部珍藏大量文物,且其建筑构件和材料均属于文物,为了不破坏古建筑结构、不影响文物、不让文物受到水渍的侵害,宜采用具有安装便捷、避免穿墙打洞破坏古建筑结构,洁净环保、水渍损失少、对文物损害小,机动灵活、耗水量低、灭火效能高等特点的自动消防设施。 1.结合本项目谈谈对古建筑的消防安全管理制度和措施应如何着手进行。 2.木塔内部采用大量木质材料建筑构件,且悬挂有许多可燃易燃物品,其内部的电气线路及电器装置的安装应注意哪些事项?

饲料原料小麦麸的营养特点。

胃痛暴作,恶寒喜暖,得温痛减,口淡不渴或吐清水,舌淡,苔薄白,脉弦紧。证属(   )

而对空栈进行出栈运算时也会产生溢出,通常称为上溢。

一病毒性心肌炎患者,血压明显升高。查体:BP200/130mmHg,眼底出血渗出,视乳头水肿,实验室报告可能是()。

新课程强调过程与方法,所以在教学中要以学生体验为主,系统知识掌握()

体外循环中灌注流量的决定因素是()

银行业从业人员在使用本行电子技术设备时可以(  )。

《中华人民共和国传染病防治法》列入分类管理的传染病共计()。

在晶体管放大电路中,如果反馈信号取自输出电流,称为()。

暂无相关推荐~