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)- A9% (5)
- B84% (46)
- C5% (3)
- D2% (1)
Community Discussion
No community discussion yet for this question.