网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
Youcreateaserviceapplicationthatmonitorsfreespaceonaharddiskdrive.Youmustensurethattheserviceapplicationrunsinthebackgroundandmonitorsthefreespaceeveryminute.Whatshouldyoudo?()

A.AddcodetothedefaultconstructoroftheServiceclasstomonitorthefreespaceontheharddiskdrive.

B.AddcodetotheOnStartmethodoftheServiceclasstomonitorthefreespaceontheharddiskdrive.

C.AddaninstanceoftheSystem.Windows.Forms.TimerclasstotheServiceclassandconfigureittofireeveryminute.

D.AddaninstanceoftheSystem.Timers.TimerclasstotheServiceclassandconfigureittofireeveryminute.

E.AddcodetotheOnStartmethodoftheServiceclasstostartthetimer.

F.AddcodetotheElapsedeventhandlerofthetimertomonitorthefreespaceontheharddiskdrive.

G.AddcodetotheTickeventhandlerofthetimertomonitorthefreespaceontheharddiskdrive.


参考答案

更多 “ Youcreateaserviceapplicationthatmonitorsfreespaceonaharddiskdrive.Youmustensurethattheserviceapplicationrunsinthebackgroundandmonitorsthefreespaceeveryminute.Whatshouldyoudo?() A.AddcodetothedefaultconstructoroftheServiceclasstomonitorthefreespaceontheharddiskdrive.B.AddcodetotheOnStartmethodoftheServiceclasstomonitorthefreespaceontheharddiskdrive.C.AddaninstanceoftheSystem.Windows.Forms.TimerclasstotheServiceclassandconfigureittofireeveryminute.D.AddaninstanceoftheSystem.Timers.TimerclasstotheServiceclassandconfigureittofireeveryminute.E.AddcodetotheOnStartmethodoftheServiceclasstostartthetimer.F.AddcodetotheElapsedeventhandlerofthetimertomonitorthefreespaceontheharddiskdrive.G.AddcodetotheTickeventhandlerofthetimertomonitorthefreespaceontheharddiskdrive. ” 相关考题