runtime_exception Class

 

For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

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

class runtime_exception : public std::exception;  

Public Constructors

NameDescription
runtime_exception::runtime_exception ConstructorInitializes a new instance of the runtime_exception class.
runtime_exception::~runtime_exception DestructorDestroys the runtime_exception object.

Public Methods

NameDescription
runtime_exception::get_error_code MethodReturns the error code that caused the exception.

Public Operators

NameDescription
runtime_exception::operator= OperatorCopies the contents of the specified runtime_exception object into this one.

exception

runtime_exception

Header: amprt.h

Namespace: Concurrency

Concurrency Namespace (C++ AMP)

Show: