搜题
用户您好, 请在下方输入框内搜索其它题目:
搜题
题目内容 (请给出正确答案)
提问人:网友 发布时间:
【单选题】

You are modifying a Windows Communication Foundation (WCF) service that allows customers to update financial data. The service currently requires a transaction from the client application and is working correctly. The service contract is defined as follows. (Line numbers are included for reference only.)<br /> 01 [ServiceContract( )]<br /> 02 public interface IDataUpdate<br /> 03 {<br /> 04 [OperationContract( )]<br /> 05 [TransactionFlow(TransactionFlowOption.Mandatory)]<br /> 06 void Update(string accountNumber, double amount);<br /> 07<br /> 08 }<br /> 09<br /> 10 public class UpdateService : IDataUpdate<br /> 11 {<br /> 12<br /> 13 [OperationBehavior(TransactionScopeRequired=true, TransactionAutoComplete=true)]<br /> 14 public void Update(string accountNumber, double amount)<br /> 15 {<br /> 16 try<br /> 17 {<br /> 18 ...<br /> 19 }<br /> 20 catch(Exception ex)<br /> 21 {<br /> 22 ...<br /> 23 }<br /> 24 }<br /> 25 }The service must be modified so that client applications do not n

A、Replace line 05 with the following code. [TransactionFlow(TransactionFlowOption.NotAllowed)]

B、Replace line 13 with the following code. [OperationBehavior(TransactionScopeRequired=false, TransactionAutoComplete=true)]

C、Replace line 05 with the following code. [TransactionFlow(TransactionFlowOption.Allowed)]

D、Replace line 13 with the following code. [OperationBehavior(TransactionScopeRequired=false, TransactionAutoComplete=false)]

更多“ You are modifying a Windows Communication Foundation (WCF) service that allows customers to update financial data. The service currently requires a transaction from the client application and is working correctly. The service contract is defined as follows. (Line numbers are included for reference only.)<br /> 01 [ServiceContract( )]<br /> 02 public interface IDataUpdate<br /> 03 {<br /> 04 [OperationContract( )]<br /> 05 [TransactionFlow(TransactionFlowOption.Mandatory)]<br /> 06 void Update(string accountNumber, double amount);<br /> 07<br /> 08 }<br /> 09<br /> 10 public class UpdateService : IDataUpdate<br /> 11 {<br /> 12<br /> 13 [OperationBehavior(TransactionScopeRequired=true, TransactionAutoComplete=true)]<br /> 14 public void Update(string accountNumber, double amount)<br /> 15 {<br /> 16 try<br /> 17 {<br /> 18 ...<br /> 19 }<br /> 20 catch(Exception ex)<br /> 21 {<br /> 22 ...<br /> 23 }<br /> 24 }<br /> 25 }The service must be modified so that client applications do not n”相关的问题
第1题

AYou are fired! You are hired!  B、You are fired! You are fired!  C、You are hired! You are hired!  D、You are hired! Youarefired!  

点击查看答案
第6题

AA. Export the query results to a comma-delimited file. Use a CSVDE script to modify the password property of each user account.  B、B. From the Results pane of the query, select all user accounts and modify their password properties simultaneously.  C、C. Export the query results to a comma-delimited file. Use an LDIFDE script to modify the password property of each user account.  D、D. From the Results pane of the query, select each user account and modify the password property, one by one.  

点击查看答案
第9题

A、Create a signature (SIG) record for the domain controller.  B、Modify the name server (NS) record for the domain controller.  C、Modify the service locator (SRV) record for the domain controller.  D、Modify the start of authority (SOA) record on the domain controller.  

点击查看答案
第10题

A、What are you?  B、Where are you from?  C、Who are you?  D、What are you doing?  

点击查看答案
客服
TOP

请使用微信扫码支付

订单号:
遇到问题请联系在线客服