scheduler_resource_allocation_error 類別

這個類別會描述因失敗,無法取得重要的資源,在並行處理執行階段擲回例外狀況。

class scheduler_resource_allocation_error : public std::exception;

Members

Dd504884.collapse_all(zh-tw,VS.110).gif公用建構函式

名稱

描述

scheduler_resource_allocation_error::scheduler_resource_allocation_error 建構函式

多載。建構 scheduler_resource_allocation_error 物件。

Dd504884.collapse_all(zh-tw,VS.110).gif公用方法

名稱

描述

scheduler_resource_allocation_error::get_error_code 方法

傳回造成例外狀況的錯誤碼。

備註

從並行執行階段呼叫作業系統失敗時,通常會擲回此例外狀況。這通常會從 Win32 方法的呼叫傳回的錯誤碼GetLastError會轉換為型別的值HRESULT ,可以使用抓取get_error_code方法。

繼承階層架構

exception

scheduler_resource_allocation_error

需求

標頭: concrt.h

Namespace: 並行存取

請參閱

參考

concurrency 命名空間