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

You are developing a client application that uses the following code to consume a Windows Communication Foundation (WCF) service.(Line numbers are included for reference only.)<br /> 01 BasicHttpBinding myBinding = new BasicHttpBinding( );<br /> 02 EndpointAddress myEndpointAddress = new EndpointAddress("http://contoso.com/TaxService.svc");<br /> 03 ...<br /> 04 ITaxService client = channelFactory.CreateChannel( );<br /> 05 string data = client.GetData(1);<br /> You need to consume the service.<br /> Which code segment should you insert at line 03?()

A、var channelFactory = new ChannelFactory();

B、var channelFactory = new ChannelFactory(myBinding);

C、var channelFactory = new ChannelFactory(myBinding, myEndpointAddress);

D、var channelFactory = new ChannelFactory("http://contoso.com/TaxService.svc");

更多“ You are developing a client application that uses the following code to consume a Windows Communication Foundation (WCF) service.(Line numbers are included for reference only.)<br /> 01 BasicHttpBinding myBinding = new BasicHttpBinding( );<br /> 02 EndpointAddress myEndpointAddress = new EndpointAddress("http://contoso.com/TaxService.svc");<br /> 03 ...<br /> 04 ITaxService client = channelFactory.CreateChannel( );<br /> 05 string data = client.GetData(1);<br /> You need to consume the service.<br /> Which code segment should you insert at line 03?()”相关的问题
第7题

A、A. 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

请使用微信扫码支付

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