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?

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?

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?

A.
Implement the Process Data method by using the Invoke method on the Dispatcher
class.

B.
Call the Run method of the Dispatcher class before invoking the Process Data method

C.
Implement the Process Data method by using Windows Workflow Foundation (WF).

D.
Call the Do Events method of the Application class before invoking the Process Data
method



Leave a Reply 0

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