runtime_exception::runtime_exception 构造函数

初始化 runtime_exception 类的新实例。

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

explicit runtime_exception(
   HRESULT _Hresult
) throw();

runtime_exception(
   const runtime_exception &_Other
) throw();

参数

  • _Message
    对导致异常的错误的说明。

  • _Hresult
    导致异常的 HRESULT 错误。

  • _Other
    要复制的 runtime_exception 对象。

返回值

runtime_exception 对象。

要求

**标头:**amprt.h

命名空间: 并发

请参见

参考

runtime_exception 类