当前位置:MCTS(70-513)题库

问题:

[单选]

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.)
01 SampleServiceProxy proxy = new SampleServiceProxy();
02 try
03 {
04 proxy.ProcessInvoice(invoice);
05 }
06 catch
07 {
08 if(proxy.State == CommunicationState.Faulted)
09 {
10 ...
11 }
12 }
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?()

A . proxy.Close();
B . proxy = new SampleServiceProxy();
C . proxy.Abort();
D . proxy.Open()

机械台班消耗定额 不协调性精神运动性兴奋 从1894年中状元,到1926年在破产风波中凄然弃世,张謇这三十余年可谓生活在政治极其让人失望的年代,他尝说,“我知道,我们政府绝无希望,只有我自己在可能范围内,得尺得寸,尽可能的心而已。”让张謇感到失望的根源是()。 历届政府推行压制剥削的政策。 帝国主义加紧对华的资本输出。 鸦片战争以来中国的社会性质。 广大民众封闭保守的思想观念。 执行一条指令可分哪几个基本操作? 已知某简化的会计系统的一级数据流图是正确的(如图1所示),请指出其二级数据流图(如图2所示)的错误,并改正。

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.)
01 SampleServiceProxy proxy = new SampleServiceProxy();
02 try
03 {
04 proxy.ProcessInvoice(invoice);
05 }
06 catch
07 {
08 if(proxy.State == CommunicationState.Faulted)
09 {
10 ...
11 }
12 }
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?()

参考答案:

  参考解析

本题暂无解析

在线 客服