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

You are working with a Windows Communication Foundation (WCF) client application that has a generated proxy named SampleServiceProxy.When the client application is executing, in line 04 of the following code, the channel faults (Line numbers are included for reference only.)<br /> 01 SampleServiceProxy proxy = new SampleServiceProxy();<br /> 02 try<br /> 03 {<br /> 04 proxy.ProcessInvoice(invoice);<br /> 05 }<br /> 06 catch<br /> 07 {<br /> 08 if(proxy.State == CommunicationState.Faulted)<br /> 09 {<br /> 10 ...<br /> 11 }<br /> 12 }<br /> 13 proxy.UpdateCustomer(customer);You need to return proxy to a state in which it can successfully execute the call in line 13.Which code segment should you use at line 10?()<p> You are working with a Windows Communication Foundation (WCF) client application that has a generated proxy named SampleServiceProxy.When the client application is executing, in line 04 of the following code, the channel faults (Line numbers are included for reference only.)<

A、A. proxy.Close();

B、B. proxy = new SampleServiceProxy();

C、C. proxy.Abort();

D、D. proxy.Open();

更多“You are working with a Windows Communication Foundation (WCF) client application that has a generated proxy named SampleServiceProxy.When the client application is executing, in line 04 of the following code, the channel faults (Line numbers are included for reference only.)<br /> 01 SampleServiceProxy proxy = new SampleServiceProxy();<br /> 02 try<br /> 03 {<br /> 04 proxy.ProcessInvoice(invoice);<br /> 05 }<br /> 06 catch<br /> 07 {<br /> 08 if(proxy.State == CommunicationState.Faulted)<br /> 09 {<br /> 10 ...<br /> 11 }<br /> 12 }<br /> 13 proxy.UpdateCustomer(customer);You need to return proxy to a state in which it can successfully execute the call in line 13.Which code segment should you use at line 10?()<p> You are working with a Windows Communication Foundation (WCF) client application that has a generated proxy named SampleServiceProxy.When the client application is executing, in line 04 of the following code, the channel faults (Line numbers are included for reference only.)<”相关的问题
第1题

A、Youareworking on a database where downtime is not tolerated.  B、Youareworking on a database where downtime can be tolerated.  C、Youareworking on a database that operates in ARCHIVELOG mode.  D、Youareworking on a database that operates in NOARCHIVELOG mode.  E、Youareworking on a database where all the tablespaces are locally managed.  F、Youareworking on a database where control files and redo log files are multiplexed.  H、Youareworking on a database where control files and redo log files are not multiplexed.  

点击查看答案
第2题

A、A.Secure the applicators to preserve the charge in the cylinders  B、B.Continue with your work as there is nothing you can do to stop the flow of CO2  C、C.Retreat to fresh air and ventilate the compartment before returning  D、D.Make sure all doors and vents are secured  

点击查看答案
客服
TOP

请使用微信扫码支付

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