试题详情
- 多项选择题 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?()
A、Add code to the default constructor of the Service class to monitor the free space on the hard disk drive.
B、Add code to the OnStart method of the Service class to monitor the free space on the hard disk drive.
C、Add an instance of the System.Windows.Forms.Timer class to the Service class and configure it to fire every minute.
D、Add an instance of the System.Timers.Timer class to the Service class and configure it to fire every minute.
E、Add code to the OnStart method of the Service class to start the timer.
F、Add code to the Elapsed event handler of the timer to monitor the free space on the hard disk drive.
G、Add code to the Tick event handler of the timer to monitor the free space on the hard disk drive.
- D,E,F
关注下方微信公众号,在线模考后查看
热门试题