Compartilhar via


runtime_exception::runtime_exception Constructor

Initializes a new instance of the runtime_exception class.

runtime_exception(
   const char * _Message,
   HRESULT _Hresult
) throw();

explicit runtime_exception(
   HRESULT _Hresult
) throw();

runtime_exception(
   const runtime_exception &_Other
) throw();

Parameters

  • _Message
    A description of the error that caused the exception.

  • _Hresult
    The HRESULT of error that caused the exception.

  • _Other
    The runtime_exception object to copy.

Return Value

The runtime_exception object.

Requirements

Header: amprt.h

Namespace: Concurrency

See Also

Reference

runtime_exception Class