JoinableTaskFactory.WaitSynchronously Method (Task)
Visual Studio 2015
Synchronously blocks the calling thread for the completion of the specified task. If running on the main thread, any applicable message pump is suppressed while the thread sleeps.
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
Parameters
- task
-
Type:
System.Threading.Tasks.Task
The task whose completion is being waited on.
Show: