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

微软认证考试

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

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. The application consumes a Microsoft Windows Communication Foundation (WCF) service. The WCF service exposes the following method.  [WebInvoke]  string UpdateCustomerDetails(string custID);  The application hosts the WCF service by using the following code segment. WebServiceHost host = new WebServiceHost(typeof(CService),  new Uri("http://win/"));  ServiceEndpoint ep = host.AddServiceEndpoint(typeof(ICService),  new WebHttpBinding( ), "");  You need to invoke the UpdateCustomerDetails method.  Which code segment should you use?()

  • A、A
  • B、B
  • C、C
  • D、D
正确答案:A
答案解析:
进入题库查看解析

微信扫一扫手机做题