当前位置:MCPD(70-505)题库

问题:

[单选]

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  thebackgroundWorker1.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.

()的死亡模式以低死亡率、较高的预期寿命为特点。 传统农业社会。 现代工业社会。 未来社会。 原始社会。 主轴停止是用()辅助功能表示。 M02。 M05。 M06。 M30。 任何企业都应该选择定制化的客户关系管理系统。 《规程》对矿井有害气体中一氧化碳最高允许浓度是()。 0.00024%。 0.0024%。 24。 下列选项中,不属于人的社会指标的是()。 经济收入。 教育水平。 种族。 婚姻状况。

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  thebackgroundWorker1.ReportProgress method.You need to configure the BackgroundWorker component appropriately to prevent the application from generating exceptions.   
What should yo do?()

参考答案:

  参考解析

本题暂无解析

在线 客服