nerdexam
Microsoft

70-518 · Question #78

You are designing a Windows Forms application that allows users to search a product catalog and place orders. You have the following requirements: - Display a progress indicator while the…

The correct answer is A. Use a BackgroundWorker component to perform the search. See the full explanation below for the reasoning.

Question

You are designing a Windows Forms application that allows users to search a product catalog and place orders. You have the following requirements:

  • Display a progress indicator while the application is searching the

catalog.

  • Ensure that users can cancel search operations.

You need to recommend an approach that meets the requirements. What should you recommend?

Options

  • AUse a BackgroundWorker component to perform the search.
  • BImplement the search as a Windows Communication Foundation (WCF) service by using the
  • CImplement the search as a duplex service.
  • DExecute the search on the user interface thread.

How the community answered

(42 responses)
  • A
    86% (36)
  • B
    7% (3)
  • C
    5% (2)
  • D
    2% (1)

Community Discussion

No community discussion yet for this question.

Full 70-518 Practice