FromCurrentSynchronizationContext()

TaskScheduler::FromCurrentSynchronizationContext() method

Creates a TaskScheduler associated with the current thread.

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

Return Value

A TaskScheduler associated with the current thread.

See Also