get_Current()

TaskScheduler::get_Current() method

Gets the TaskScheduler associated with the currently executing task.

static SharedPtr<TaskScheduler> System::Threading::Tasks::TaskScheduler::get_Current()

Return Value

The TaskScheduler associated with the currently executing task.

See Also