共用方式為


task_from_exception 函式 (並行執行階段)

template<
   typename _TaskType,
   typename _ExType
>
task<_TaskType> task_from_exception(
   _ExType_Exception,
   const task_options& _TaskOptions = task_options()
);

參數

  • _TaskType

  • _ExType

  • _Exception

  • _TaskOptions

需求

**標頭:**ppltasks.h

**命名空間:**concurrency

請參閱

參考

concurrency 命名空間