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 命名空间