YouarecreatingaWindowsFormsapplicationbyusingthe.NetFramework3.5.YoucreateaninstanceofaBackgroundworkercomponentnamedbackgroundWorker1toprocessoperationsthattakealongtime.Youdiscoverthatwhentheapplicationattemptstoreporttheprogress,youreceiveaSystem.InvalidOperationExceptionexceptionwhenexecutingthebackgroundWorker1.ReportProgressmethod.YouneedtoconfiguretheBackgroundWorkercomponentappropriatelytopreventtheapplicationfromgeneratingexceptions.Whatshouldyodo?()
时间:2023-12-20 10:24:51
相似题目
-
helgaisworkingwithamulti-valuefieldthathasnumericvaluesinalist.shewouldliketoapplyaformulatoeachiteminthelist,returnthelistwhichoneofthefollowing@fuctionscansheusetoaccomplishthiswithonelineofcode?()
-
直接决定管理过程中协调的任务量和难易程度的是()。
-
Acustomerneedsasystemsupportingfourpartitions,eachwiththefollowingrequirements:?0.61.65GHzprocessors?2GBmemory?AIX5.2Theyalsoneedtheabilitytogrowthesysteminthefuture.WhichpSeriessystemwouldbepositionedbesttomeetthiscustomer’srequirements?()
-
关于汽轮机转子轴向位移增大的原因下述说法正确的是:()。
-
下列遗嘱中,效力最高的是()。