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

You develop a Windows Communication Foundation (WCF) service that employees use to access bonus information.You define the following service contract. (Line numbers are included for reference only.)<br /> 01 [ServiceContract(SessionMode = SessionMode.Required)]<br /> 02 public interface IFinancialService<br /> 03 {<br /> 04 [OperationContract]<br /> 05 string Login(int employeeID, string passwordHash);<br /> 06<br /> 07 [OperationContract]<br /> 08 double GetBonus(int month);<br /> 09<br /> 10 [OperationContract(IsTerminating = true)]<br /> 11 void Logout( );<br /> 12 }<br /> Client application can invoke methods without logging in. You need to ensure that the client applications invoke Login before invoking any other method. You also need to ensure that client applications cannot consume the service after invoking Logout.<br /> Which two action should you perform? ()(Each correct answer presents part of the solution. Choose two.)。

A、Replace line 04 with the following code. [OperationContract(IsInitiating = false)]

B、Replace line 04 with the following code. [OperationContract(IsInitiating = true, IsTerminating = true)]

C、Replace line 07 with the following code. [OperationContract(IsInitiating = false)]

D、Replace line 10 with the following code. [OperationContract(IsInitiating = false, IsTerminating = true)]

更多“ You develop a Windows Communication Foundation (WCF) service that employees use to access bonus information.You define the following service contract. (Line numbers are included for reference only.)<br /> 01 [ServiceContract(SessionMode = SessionMode.Required)]<br /> 02 public interface IFinancialService<br /> 03 {<br /> 04 [OperationContract]<br /> 05 string Login(int employeeID, string passwordHash);<br /> 06<br /> 07 [OperationContract]<br /> 08 double GetBonus(int month);<br /> 09<br /> 10 [OperationContract(IsTerminating = true)]<br /> 11 void Logout( );<br /> 12 }<br /> Client application can invoke methods without logging in. You need to ensure that the client applications invoke Login before invoking any other method. You also need to ensure that client applications cannot consume the service after invoking Logout.<br /> Which two action should you perform? ()(Each correct answer presents part of the solution. Choose two.)。”相关的问题
第10题

AA. Set the serviceAuthorizationAuditLevel setting to Success and the messageAuthenticationAuditLevel setting to Success.  B、B. Set the messageAuthenticationAuditLevel setting to Success and the auditLogLocation setting to Application.  C、C. Set the serviceAuthorizationAuditLevel setting to SuccessAndFailure and the messageAuthenticationAuditLevel setting to SuccessAndFailure.  D、D. Set the messageAuthenticationAuditLevel setting to SuccessAndFailure and the auditLogLocation setting to Security.  

点击查看答案
客服
TOP

请使用微信扫码支付

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