JoinableTaskFactory.WaitSynchronouslyCore(Task) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Synchronously blocks the calling thread for the completion of the specified task.
protected:
virtual void WaitSynchronouslyCore(System::Threading::Tasks::Task ^ task);
protected virtual void WaitSynchronouslyCore (System.Threading.Tasks.Task task);
abstract member WaitSynchronouslyCore : System.Threading.Tasks.Task -> unit
override this.WaitSynchronouslyCore : System.Threading.Tasks.Task -> unit
Protected Overridable Sub WaitSynchronouslyCore (task As Task)
Parameters
- task
- Task
The task whose completion is being waited on.
Remarks
Implementations should take care that exceptions from faulted or canceled tasks not be thrown back to the caller.