YouarecreatingaWindowsapplicationbyusingthe.NETFramework3.5.YoucreateaninstanceoftheBackgroundWorkercomponentnamedbackgroundWorker1toasynchronouslyprocesstimeconsumingreportsintheapplication.Youwritethefollowingcodesegmentintheapplication(Linenumbersareincludedforreferenceonly.)
Youneedtowriteacodesegmentthatreportstotheapplicationwhenthebackgroundprocessdetectsanyofthefollowingactions:
(1)Anexceptionisthrown
(2)Theprocessiscancelled
(3)Theprocessissuccessfullycompleted
Whichcodesegmentshouldyouinsert?()