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 类