Compartilhar via


task_from_exception Function

Warning

This topic contains information for the C++ REST SDK 1.0 (codename "Casablanca"). If you are using a later version from the Codeplex Casablanca web page, then use the local documentation at http://casablanca.codeplex.com/documentation.

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: pplxtasks.h

Namespace: pplx

See Also

Reference

pplx Namespace