System::ComponentModel::BackgroundWorker クラス

BackgroundWorker class

このクラスのオブジェクトは System::MakeObject() 関数を使用してのみ割り当てるべきです。スタック上や operator new を使用してこの型のインスタンスを作成しないでください。そうしないとランタイムエラーやアサーション違反が発生します。常にこのクラスを System::SmartPtr ポインタでラップし、そのポインタを関数への引数として使用してください。

class BackgroundWorker : public System::ComponentModel::Component

メソッド

メソッド説明
BackgroundWorker()RTTI 情報。
get_WorkerReportsProgress() constSystem::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()デストラクタ。

参照