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.
The exception that is thrown when an underlying DirectX call fails due to the Windows timeout detection and recovery mechanism.
Syntax
class accelerator_view_removed : public runtime_exception;
Members
Public Constructors
Name | Description |
---|---|
accelerator_view_removed Constructor | Initializes a new instance of the accelerator_view_removed class. |
Public Methods
Name | Description |
---|---|
get_view_removed_reason | Returns an HRESULT error code indicating the cause of the accelerator_view object's removal. |
Inheritance Hierarchy
exception
runtime_exception
out_of_memory
Requirements
Header: amprt.h
Namespace: Concurrency
accelerator_view_removed
Initializes a new instance of the accelerator_view_removed class.
Syntax
explicit accelerator_view_removed(
const char * message,
HRESULT view_removed_reason ) throw();
explicit accelerator_view_removed(
HRESULT view_removed_reason ) throw();
Parameters
message
A description of the error.
view_removed_reason
An HRESULT error code indicating the cause of removal of the accelerator_view
object.
Return Value
A new instance of the accelerator_view_removed
class.
get_view_removed_reason
Returns an HRESULT error code indicating the cause of the accelerator_view
object's removal.
Syntax
HRESULT get_view_removed_reason() const throw();