Delen via


task_options::task_options Constructor (Concurrency Runtime)

Default list of task creation options

task_options();

task_options(
   cancellation_token _Token
);

task_options(
   task_continuation_context _ContinuationContext
);

task_options(
   cancellation_token _Token,
   task_continuation_context _ContinuationContext
);

template<
   typename _SchedType
>
task_options(
   std::shared_ptr<_SchedType> _Scheduler
);

task_options(
   scheduler_interface& _Scheduler
);

task_options(
   scheduler_ptr _Scheduler
);

task_options(
   const task_options& _TaskOptions
);

Parameters

  • _SchedType

  • _Token

  • _ContinuationContext

  • _Scheduler

  • _TaskOptions

Requirements

Header: ppltasks.h

Namespace: concurrency

See Also

Reference

task_options Class (Concurrency Runtime)