Microsoft
70-518 · Question #216
70-518 Question #216: Real Exam Question with Answer & Explanation
The correct answer is A. Implement the Process Data method by using Windows Workflow Foundation (WF).. See the full explanation below for the reasoning.
Question
You are designing an application by using Windows Presentation Foundation (WPF) and Microsoft NET Framework 4. The user interface (UI) tier of the application will be implemented by using WPF. The middle tier of the application will be implemented by using Windows Communication Foundation (WCF). The middle tier will contain several methods that update data in a remote database. The middle tier will also contain a long-running method named Process Data. The Process Data method performs database operations and can take several minutes to complete. You need to ensure that the UI of the application can continue to call other methods while the Process Data method is running What should you do?
Options
- AImplement the Process Data method by using Windows Workflow Foundation (WF).
- BImplement the Process Data method by using the Invoke method on the Dispatcher class.
- CCall the Run method of the Dispatcher class before invoking the Process Data method
- DCall the Do Events method of the Application class before invoking the Process Data method
Community Discussion
No community discussion yet for this question.