System::ComponentModel::BackgroundWorker 클래스
내용물
[
숨다
]BackgroundWorker class
이 클래스의 객체는 System::MakeObject() 함수를 사용하여 할당해야 합니다. 스택에 직접 생성하거나 operator new를 사용해 인스턴스를 만들면 런타임 오류 및/또는 어설션 오류가 발생합니다. 항상 이 클래스를 System::SmartPtr 포인터로 감싸고, 해당 포인터를 사용해 함수 인수로 전달하십시오.
class BackgroundWorker : public System::ComponentModel::Component
메서드
| 메서드 | 설명 |
|---|---|
| BackgroundWorker() | RTTI 정보. |
| get_WorkerReportsProgress() const | 해당 System::ComponentModel::BackgroundWorker가 진행 상황 업데이트를 보고할 수 있는지 여부를 나타내는 값을 가져옵니다. |
| ReportProgress(int) | System::ComponentModel::BackgroundWorker::ProgressChanged 이벤트를 발생시킵니다. |
| ReportProgress(int, const System::SharedPtr<System::Object>&) | userState 객체와 함께 System::ComponentModel::BackgroundWorker::ProgressChanged 이벤트를 발생시�니다. |
| RunWorkerAsync() | 백그라운드 작업의 실행을 시작합니다. |
| RunWorkerAsync(const System::SharedPtr<System::Object>&) | 백그라운드 작업의 실행을 시작합니다. |
| set_WorkerReportsProgress(bool) | 해당 System::ComponentModel::BackgroundWorker가 진행 상황 업데이트를 보고할 수 있는지 여부를 나타내는 값을 설정합니다. |
| ~BackgroundWorker() | 소멸자. |
또 보기
- Class Component
- Namespace System::ComponentModel
- Library Aspose.Page for C++