共用方式為


task_options::has_scheduler Method (Concurrency Runtime)

Indicates whether a scheduler n was specified by the user

bool has_scheduler() const;

Requirements

Header: ppltasks.h

Namespace: concurrency

See Also

Reference

task_options Class (Concurrency Runtime)