classe System::ComponentModel::BackgroundWorker
Contenu
[
Cacher
]BackgroundWorker class
Les objets de cette classe ne doivent être alloués qu’en utilisant la fonction System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
class BackgroundWorker : public System::ComponentModel::Component
Méthodes
| Méthode | Description |
|---|---|
| BackgroundWorker() | Informations RTTI. |
| get_WorkerReportsProgress() const | Obtient une valeur indiquant si le System::ComponentModel::BackgroundWorker peut signaler des mises à jour de progression. |
| ReportProgress(int) | Déclenche l’événement System::ComponentModel::BackgroundWorker::ProgressChanged. |
| ReportProgress(int, const System::SharedPtr<System::Object>&) | Déclenche l’événement System::ComponentModel::BackgroundWorker::ProgressChanged avec l’objet userState. |
| RunWorkerAsync() | Démarre l’exécution d’une opération en arrière-plan. |
| RunWorkerAsync(const System::SharedPtr<System::Object>&) | Démarre l’exécution d’une opération en arrière-plan. |
| set_WorkerReportsProgress(bool) | Définit une valeur indiquant si le System::ComponentModel::BackgroundWorker peut signaler des mises à jour de progression. |
| ~BackgroundWorker() | Destructeur. |
Voir aussi
- Class Component
- Namespace System::ComponentModel
- Library Aspose.Font for C++