Task::RunSynchronously() method
Runs the task synchronously on the current thread.
void System::Threading::Tasks::Task::RunSynchronously()
Exceptions
| Exception | Description |
|---|
| If | the task has already been started or completed |
Task::RunSynchronously(const SharedPtr<TaskScheduler>&) method
Runs the task synchronously using the specified scheduler.
void System::Threading::Tasks::Task::RunSynchronously(const SharedPtr<TaskScheduler> &scheduler)
Arguments
Exceptions
| Exception | Description |
|---|
| If | the task has already been started or completed |
See Also