What should you do?

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 in WPF.
The middle tier of the application is implemented by using an existing COM component.
The middle tier contains a long-running method named ProcessData.
You need to ensure that users can continue to use the UI while ProcessData is running.
What should you do?
A. Use an asynchronous worker thread to call Process Data.
B. Use the Invoke method of the Dispatcher class to call Process Data.
C. Call the Run method of the Dispatcher class before invoking Process Data.
D. Call the DoEvents method of the Application class before invoking Process Data

microsoft-exams

Leave a Reply

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


The reCAPTCHA verification period has expired. Please reload the page.