System::Threading::Tasks::Task::RunSynchronously method

Task::RunSynchronously() method

Runs the task synchronously on the current thread.

void System::Threading::Tasks::Task::RunSynchronously()

See Also

Task::RunSynchronously(const SharedPtr<TaskScheduler>&) method

Runs the task synchronously using the specified scheduler.

void System::Threading::Tasks::Task::RunSynchronously(const SharedPtr<TaskScheduler> &scheduler)
ParameterTypeDescription
schedulerconst SharedPtr<TaskScheduler>&The scheduler to use for execution

See Also