Méthode System::ComponentModel::BackgroundWorker::ReportProgress

BackgroundWorker::ReportProgress(int) method

Déclenche l’événement System::ComponentModel::BackgroundWorker::ProgressChanged.

void System::ComponentModel::BackgroundWorker::ReportProgress(int percentProgress)
ParamètreTypeDescription
percentProgressintLe pourcentage, de 0 à 100, de l’opération en arrière-plan qui est terminée.

Voir aussi

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

Déclenche l’événement System::ComponentModel::BackgroundWorker::ProgressChanged avec l’objet userState.

void System::ComponentModel::BackgroundWorker::ReportProgress(int percentProgress, const System::SharedPtr<System::Object> &userState)
ParamètreTypeDescription
percentProgressintLe pourcentage, de 0 à 100, de l’opération en arrière-plan qui est terminée.
userStateconst System::SharedPtr<System::Object>&L’objet d’état passé à System::ComponentModel::BackgroundWorker::RunWorkerAsync(System::Object).

Voir aussi