Compartilhar via


task_from_result 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 _Ty
>
task<_Ty> task_from_result(
   _Ty_Param,
   const task_options& _TaskOptions = task_options()
);

inline task<bool> task_from_result(
   bool _Param
);

inline task<void> task_from_result(
   const task_options& _TaskOptions = task_options()
);

Parameters

  • _Ty

  • _Param

  • _TaskOptions

Requirements

Header: pplxtasks.h

Namespace: pplx

See Also

Reference

pplx Namespace