scheduler_worker_creation_error 類別
這個類別描述因為無法建立並行執行階段中的背景工作執行內容而擲回的例外狀況。
class scheduler_worker_creation_error : public scheduler_resource_allocation_error;
成員
公用建構函式
名稱 |
說明 |
---|---|
scheduler_worker_creation_error::scheduler_worker_creation_error 建構函式 |
多載。 建構 scheduler_worker_creation_error 物件。 |
備註
從並行執行階段呼叫作業系統建立執行內容失敗時,通常會擲回此例外狀況。 執行內容是執行在並行執行階段工作的執行緒。 通常會從呼叫傳回到 Win32 方法 GetLastError 的錯誤碼會轉換成型別 HRESULT 的值,並且可以使用基礎類別 get_error_code 方法擷取。
繼承階層
exception
scheduler_resource_allocation_error
scheduler_worker_creation_error
需求
標頭: concrt.h
**命名空間:**concurrency