Compartilhar via


runtime_exception Class

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The base type for exceptions in the C++ Accelerated Massive Parallelism (AMP) library.

Syntax

class runtime_exception : public std::exception;  

Members

Public Constructors

Name Description
runtime_exception::runtime_exception Constructor Initializes a new instance of the runtime_exception class.
runtime_exception::~runtime_exception Destructor Destroys the runtime_exception object.

Public Methods

Name Description
runtime_exception::get_error_code Method Returns the error code that caused the exception.

Public Operators

Name Description
runtime_exception::operator= Operator Copies the contents of the specified runtime_exception object into this one.

Inheritance Hierarchy

exception

runtime_exception

Requirements

Header: amprt.h

Namespace: Concurrency

See Also

Concurrency Namespace (C++ AMP)