Share via


JoinableTaskFactory.WaitSynchronouslyCore(Task) Method

Definition

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.

Applies to