Microsoft
70-513 · Question #247
You are creating an application using Visual Studio 2010. The application consumes a Windows Communication Foundation (WCF) service. You are adding a service reference to the WCF service. You need…
The correct answer is C. Select the Generate asynchronous operations option. See the full explanation below for the reasoning.
Question
You are creating an application using Visual Studio 2010. The application consumes a Windows Communication Foundation (WCF) service. You are adding a service reference to the WCF service. You need to ensure that the generated proxy does not block the calling thread when executing a service method. What should you do when adding the service reference?
Options
- ASet the Collection type to ObservableCollection.
- BSelect the Reuse types in all referenced assemblies option.
- CSelect the Generate asynchronous operations option.
- DSelect the Always generate message contracts option.
How the community answered
(68 responses)- A4% (3)
- B7% (5)
- C74% (50)
- D15% (10)
Community Discussion
No community discussion yet for this question.