次の方法で共有


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 名前空間