System::ComponentModel::BackgroundWorker::ReportProgress method

BackgroundWorker::ReportProgress(int) method

Raises the System::ComponentModel::BackgroundWorker::ProgressChanged event.

void System::ComponentModel::BackgroundWorker::ReportProgress(int percentProgress)
ParameterTypeDescription
percentProgressintThe percentage, from 0 to 100, of the background operation that is complete.

See Also

BackgroundWorker::ReportProgress(int, const System::SharedPtr<System::Object>&) method

Raises the System::ComponentModel::BackgroundWorker::ProgressChanged event with userState object.

void System::ComponentModel::BackgroundWorker::ReportProgress(int percentProgress, const System::SharedPtr<System::Object> &userState)
ParameterTypeDescription
percentProgressintThe percentage, from 0 to 100, of the background operation that is complete.
userStateconst System::SharedPtr<System::Object>&The state object passed to System::ComponentModel::BackgroundWorker::RunWorkerAsync(System::Object).

See Also