多做题,通过考试没问题!

微软认证考试

睦霖题库>其他计算机考试>微软认证考试

You are developing an ASP.NET Web service. The following code segment implements the service. You need to ensure that both GetProduct methods can be called from a Web client. Which two actions should you perform?()

  • A、Remove line 01.
  • B、Add the static modifier on lines 05 and 11.
  • C、Add the following attribute before line 10. [SoapDocumentMethod(Action="GetProductById")]
  • D、Modify the attribute on line 10 as follows. [WebMethod(MessageName="GetProductById")]
正确答案:A,D
答案解析:
进入题库查看解析

微信扫一扫手机做题