JoinableTaskFactory.WaitSynchronouslyCore Method
Synchronously blocks the calling thread for the completion of the specified task.
Namespace: Microsoft.VisualStudio.Threading
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
Syntax
'Declaration
Protected Overridable Sub WaitSynchronouslyCore ( _
task As Task _
)
protected virtual void WaitSynchronouslyCore(
Task task
)
protected:
virtual void WaitSynchronouslyCore(
Task^ task
)
abstract WaitSynchronouslyCore :
task:Task -> unit
override WaitSynchronouslyCore :
task:Task -> unit
protected function WaitSynchronouslyCore(
task : Task
)
Parameters
task
Type: System.Threading.Tasks.TaskThe task whose completion is being waited on.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.