搜题
用户您好, 请在下方输入框内搜索其它题目:
搜题
题目内容 (请给出正确答案)
提问人:网友 发布时间:
【单选题】

You are creating a Windows Forms application by using the .Net Framework 3.5.You create an instance of a Backgroundworker component named backgroundWorker1 to process operations that take a long time.You discover that when the application attempts to report the progress,you receive a System.InvalidOperationException exception when executing  the backgroundWorker1.ReportProgress method.You need to configure the BackgroundWorker component appropriately to prevent the application from generating exceptions.What should yo do?()

A、Set the Result property of the DoWorkEventArgs instance to True before you attempt to report the progress.

B、Set the CancellationPending property of backgroundWorker1 to True before you attempt to report the background process

C、Set the WorkerReportsProgress property of backgroundWorker1 to True before you attempt to report the background process.

D、Report the progress of the background process in the backgroundWorker1_ProgressChanged event.

更多“You are creating a Windows Forms application by using the .Net Framework 3.5.You create an instance of a Backgroundworker component named backgroundWorker1 to process operations that take a long time.You discover that when the application attempts to report the progress,you receive a System.InvalidOperationException exception when executing  the backgroundWorker1.ReportProgress method.You need to configure the BackgroundWorker component appropriately to prevent the application from generating exceptions.What should yo do?()”相关的问题
客服
TOP

请使用微信扫码支付

订单号:
遇到问题请联系在线客服