共用方式為


task::scheduler Method (Concurrency Runtime)

Returns the scheduler for this task

scheduler_ptr scheduler() const;

Return Value

A pointer to the scheduler

Requirements

Header: ppltasks.h

Namespace: concurrency

See Also

Reference

task Class (Concurrency Runtime)