次の方法で共有


scheduler_resource_allocation_error クラス

このクラスは、同時実行ランタイムでクリティカル リソースを取得できないためにスローされる例外を表します。

class scheduler_resource_allocation_error : public std::exception;

メンバー

パブリック コンストラクター

名前

説明

scheduler_resource_allocation_error::scheduler_resource_allocation_error コンストラクター

オーバーロードされます。 scheduler_resource_allocation_error オブジェクトを構築します。

パブリック メソッド

名前

説明

scheduler_resource_allocation_error::get_error_code メソッド

例外の原因となったエラー コードを返します。

解説

通常、この例外は、同時実行ランタイム内からのオペレーティング システムの呼び出しが失敗した場合にスローされます。 呼び出しから Win32 メソッドに、GetLastError 返されるエラー コードは HRESULT 型の値に変換され、get_error_code のメソッドを使用して取得することもできます。

継承階層

exception

scheduler_resource_allocation_error

必要条件

ヘッダー: concrt.h

名前空間: concurrency

参照

関連項目

concurrency 名前空間