What should you recommend?

You are designing a Windows Phone 7 application that receives data from a Microsoft Windows Communication Foundation (WCF) service. A WCF service call fails when a user receives a phone call after the WCF service call begins but before it completes. You need to ensure that the WCF service call succeeds. What should you recommend?

You are designing a Windows Phone 7 application that receives data from a Microsoft Windows Communication Foundation (WCF) service. A WCF service call fails when a user receives a phone call after the WCF service call begins but before it completes. You need to ensure that the WCF service call succeeds. What should you recommend?

A.
Check the results of the completed event and retry the WCF service call if no data exists.

B.
Handle the deactivated and activated events and retry the WCF service call if it did not complete.

C.
Examine the error property of the completed event and retry the WCF service call if an error occurred.

D.
Add a try/catch block around the WCF service call and retry the WCF service call if an exception has been caught.



Leave a Reply 0

Your email address will not be published. Required fields are marked *