|
STLdoc
STLdocumentation
|
This class describes an exception thrown because of a failure to acquire a critical resource in the Concurrency Runtime. More...
#include <concrt.h>
Public Member Functions | |
| _CRTIMP | scheduler_resource_allocation_error (_In_z_ const char *_Message, HRESULT _Hresult) throw () |
Constructs a scheduler_resource_allocation_error object. More... | |
| _CRTIMP | scheduler_resource_allocation_error (HRESULT _Hresult) throw () |
Constructs a scheduler_resource_allocation_error object. More... | |
| _CRTIMP HRESULT | get_error_code () const throw () |
| Returns the error code that caused the exception. More... | |
Private Attributes | |
| HRESULT | _Hresult |
This class describes an exception thrown because of a failure to acquire a critical resource in the Concurrency Runtime.
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 using the get_error_code method.
| _CRTIMP Concurrency::scheduler_resource_allocation_error::scheduler_resource_allocation_error | ( | _In_z_ const char * | _Message, |
| HRESULT | _Hresult | ||
| ) | |||
| throw | ( | ||
| ) | |||
Constructs a scheduler_resource_allocation_error object.
| _Message | A descriptive message of the error. |
| _Hresult | The HRESULT value of the error that caused the exception. |
|
explicit | ||||||||||||||
Constructs a scheduler_resource_allocation_error object.
| _Hresult | The HRESULT value of the error that caused the exception. |
| _CRTIMP HRESULT Concurrency::scheduler_resource_allocation_error::get_error_code | ( | ) | const | |
| throw | ( | |||
| ) | ||||
Returns the error code that caused the exception.
HRESULT value of the error that caused the exception.
|
private |
1.8.8