task_from_exception Function (Concurrency Runtime)
template<
typename _TaskType,
typename _ExType
>
task<_TaskType> task_from_exception(
_ExType_Exception,
const task_options& _TaskOptions = task_options()
);
Parameters
_TaskType
_ExType
_Exception
_TaskOptions
Requirements
Header: ppltasks.h
Namespace: concurrency