可学答题网 > 问答 > MCTS(70-513)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

You are working with a Windows Commun


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()
参考答案
参考解析:
分类:MCTS(70-513)题库
相关推荐

1、You are working with a team of develo

You are working with a team of developers on a Web site. You copy the Web site from the staging server to work on it locally. While making...

2、You work with a d

You work with a database named DB1, which is located on a SQL Server 2005 computer. ...

3、You work with a newly created database

You work with a newly created database. Presently, there is no application load on the database instance.You want to create a baseline for tun...

4、You are working at ABC Company. You a

You are working at ABC Company. You are the supervisor of Information Processing Center. You need some information about the walnutmeat in stoc...

5、—Are you pleased with your work?—Yes,

—Are you pleased with your work?—Yes, it couldnt beA any betterB any worseC the bestD the worst

6、You work with a n

You work with a newly created database. Presently, there is no application load on the da...