scheduler_resource_allocation_error クラス

このクラスは、同時実行ランタイムの重要なリソースを取得する失敗した場合にスローされる例外を示します。

class scheduler_resource_allocation_error : public std::exception;

メンバー

Dd504884.collapse_all(ja-jp,VS.110).gifパブリック コンストラクター

名前

Description

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

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

Dd504884.collapse_all(ja-jp,VS.110).gifパブリック メソッド

名前

Description

scheduler_resource_allocation_error::get_error_code メソッド

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

解説

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

継承階層

exception

scheduler_resource_allocation_error

必要条件

ヘッダー: concrt.h

名前空間: の同時実行

参照

関連項目

concurrency 名前空間