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 使用基类方法 get_error_code,的错误代码转换为类型 HRESULT 的值,并可以进行检索。
继承层次结构
exception
scheduler_resource_allocation_error
scheduler_worker_creation_error
要求
**标头:**concrt.h
命名空间: 并发