System::ComponentModel::BackgroundWorker::ReportProgress метод

BackgroundWorker::ReportProgress(int) method

Вызывает событие System::ComponentModel::BackgroundWorker::ProgressChanged.

void System::ComponentModel::BackgroundWorker::ReportProgress(int percentProgress)
ПараметрТипОписание
percentProgressintПроцент от 0 до 100 выполнения фоновой операции, который завершён.

См. также

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

Вызывает событие System::ComponentModel::BackgroundWorker::ProgressChanged с объектом userState.

void System::ComponentModel::BackgroundWorker::ReportProgress(int percentProgress, const System::SharedPtr<System::Object> &userState)
ПараметрТипОписание
percentProgressintПроцент от 0 до 100 выполнения фоновой операции, который завершён.
userStateconst System::SharedPtr<System::Object>&Объект состояния, передаваемый в System::ComponentModel::BackgroundWorker::RunWorkerAsync(System::Object).

См. также