70-518 · Question #179
You are designing a Windows application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010. The business logic layer of the application is implemented by using Windows…
The correct answer is D. Configure the ServiceBehaviorAttribute attribute to use the Reentrant or Multiple. See the full explanation below for the reasoning.
Question
You are designing a Windows application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010. The business logic layer of the application is implemented by using Windows Communication Foundation (WCF). You create a duplex bidirectional WCF service that contains a single operation. The service operation sends the result back to the client application by using a two-way callback operation. You plan to design a service interaction strategy. You need to ensure that deadlocks are prevented. What should you do?
Options
- AConfigure the CallbackBehaviorAttribute attribute to use the Synchronization context in the
- BConfigure the ServiceBehaviorAttribute attribute to use the Synchronization context in the
- CConfigure the CallbackBehaviorAttribute attribute to use the Reentrant or Multiple
- DConfigure the ServiceBehaviorAttribute attribute to use the Reentrant or Multiple
How the community answered
(52 responses)- A4% (2)
- B10% (5)
- C6% (3)
- D81% (42)
Community Discussion
No community discussion yet for this question.