题目内容

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()

查看答案
更多问题

西罗马帝国灭亡的历史意义

特发性面神经麻痹又称为()

A. Hunt综合征
Bell麻痹
C. Millard-Gubler综合征
D. Horner综合征
E. Weber综合征

大型油类火最好使用的灭火剂是().

A. 二氧化碳
B. 泡沫
C. 干粉

不属于泊松分布的适用条件的是()。

A. n次实验相互独立
B. 事件A发生的概率很小
C. 求n次实验中恰好发生X次的概率P(X)
D. n次实验常存在相依变动趋势
E. n较大

答案查题题库