Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This class describes an exception that is thrown due to failure to acquire a critical resource in the Concurrency Runtime.
class scheduler_resource_allocation_error : public std::exception;
Members
Public Constructors
Name |
Description |
---|---|
scheduler_resource_allocation_error::scheduler_resource_allocation_error Constructor |
Overloaded. Constructs a scheduler_resource_allocation_error object. |
Public Methods
Name |
Description |
---|---|
Returns the error code that caused the exception. |
Remarks
This exception is typically thrown when a call to the operating system from within the Concurrency Runtime fails. The error code which would normally be returned from a call to the Win32 method GetLastError is converted to a value of type HRESULT and can be retrieved via the get_error_code method.
Inheritance Hierarchy
exception
scheduler_resource_allocation_error
Requirements
Header: concrt.h
Namespace: Concurrency