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.


相关考题: