Share via


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 類別