nerdexam
Microsoft

98-361 · Question #296

You are developing a new Windows service application that process orders. The system administrator must be able to suspend order processing while maintenance operations are in progress. When…

The correct answer is B. Set the CanPauseAndContinue property of the service to true. See the full explanation below for the reasoning.

Question

You are developing a new Windows service application that process orders. The system administrator must be able to suspend order processing while maintenance operations are in progress. When maintenance operations are completed, order processing must be resumed without the loss in any information. How should you configure this Windows service?

Options

  • AOverride the OnPause method of the ServiceBase class.
  • BSet the CanPauseAndContinue property of the service to true.
  • CSet the CanPauseAndContinue property of the service to false.
  • DOverride the OnContinue method of the ServiceBase class.

How the community answered

(55 responses)
  • A
    9% (5)
  • B
    84% (46)
  • C
    5% (3)
  • D
    2% (1)

Community Discussion

No community discussion yet for this question.

Full 98-361 Practice