PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

Which two actions should you perform?

You are implementing a new method named ProcessData. The ProcessData() method calls a third-party
component that performs a long-running operation to retrieve stock information from a web service.
The third-party component uses the IAsyncResult pattern to signal completion of the long- running operation so
that the UI can be updated with the new values.
You need to ensure that the calling code handles the long-running operation as a
System.Threading.Tasks.Task object to avoid blocking the UI thread.
Which two actions should you perform? (Each correct answer presents part of the solution.
Choose two.)


Page 374 of 6,830« First...102030...372373374375376...380390400...Last »