Question:You create a service application that monitors free space on a hard disk drive. You must ensure that the service application runs in the background and monitors the free space every minute. What should you do? To answer, you need to move the three appropriate actions from the list of actions to the answer area and arrange them in the correct order. 

A Add an instance of the System.Timers.Time class to the Service<br />class and configure it to fire every minute.<br /><br />Add code to the Onstart method of the Service class to start the timer.<br /><br />Add code to the Elapsed event handler of the timer to monitor<br />the free space on the hard disk drive.<br /><br /> 

B Add an instance of the System.Timers.Time class to the Service<br />class and configure it to fire every minute.<br /><br />Add code to the Elapsed event handler of the timer to monitor<br />the free space on the hard disk drive.<br /><br />Add code to the Onstart method of the Service class to start the timer. 

C Add code to the Onstart method of the Service class to start the timer.<br /><br />Add code to the Elapsed event handler of the timer to monitor<br />the free space on the hard disk drive.<br /><br />Add an instance of the System.Timers.Time class to the Service<br />class and configure it to fire every minute. 

D Add an instance of the System.Timers.Time class to the Service<br />class and configure it to fire every minute.<br /><br />Add code to the Onstart method of the Service class to start the timer.<br /><br /><br /> 

+ Answer
+ Report
Total Preview: 1323

Copyright © 2024. Powered by Intellect Software Ltd