共用方式為


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