当前位置:MCTS(70-513)题库

问题:

[单选]

A Windows Communication Foundation (WCF) service has the following contract:
[ServiceContract]public class ContosoService{ [OperationContract] [TransactionFlow(TransactionFlowOption.Mandatory)] [OperationBehavior(TransactionScopeRequired=true, TransactionAutoComplete=false)] void TxOp1(string value) {... };
[OperationContract(IsTerminating=true)] [TransactionFlow(TransactionFlowOption.Mandatory)] [OperationBehavior(TransactionScopeRequired=true, TransactionAutoComplete=false)] void TxOp2(string value) { ... OperationContext.Current.SetTransactionComplete();
}}
The service and the clients that call the service use NetTcpBinding with transaction flow enabled. You need to configure the service so that when TxOp1 and TxOp2 are invoked under the same client session, they run under the same transaction context. What should you do?()

A .
B .
C .
D .

以曹操为例,分析《三国演义》人物塑造的特点。 课题论证可以有不同的形式,但就其主要内容应回答哪些问题? 数字签名是利用了对称密码体系的特点发展起来的一种技术。 (),是指国家机关工作人员严重不负责任,不履行或者不正确履行职责,致使公共财产、国家和人民利益遭受重大损失的行为。 滥用职权罪。 玩忽职守罪。 受贿罪。 对有抗震设防要求的构件,纵向受力钢筋的屈服强度实测值与强度标准时的比值不应大于()。 1.2。 1.25。 1.3。 1.35。

A Windows Communication Foundation (WCF) service has the following contract:
[ServiceContract]public class ContosoService{ [OperationContract] [TransactionFlow(TransactionFlowOption.Mandatory)] [OperationBehavior(TransactionScopeRequired=true, TransactionAutoComplete=false)] void TxOp1(string value) {... };
[OperationContract(IsTerminating=true)] [TransactionFlow(TransactionFlowOption.Mandatory)] [OperationBehavior(TransactionScopeRequired=true, TransactionAutoComplete=false)] void TxOp2(string value) { ... OperationContext.Current.SetTransactionComplete();
}}
The service and the clients that call the service use NetTcpBinding with transaction flow enabled. You need to configure the service so that when TxOp1 and TxOp2 are invoked under the same client session, they run under the same transaction context. What should you do?()

参考答案:

  参考解析

本题暂无解析

在线 客服