Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 Friend Overrides Sub WaitSynchronously ( _
task As Task _
)
protected internal override void WaitSynchronously(
Task task
)
protected public:
virtual void WaitSynchronously(
Task^ task
) override
abstract WaitSynchronously :
task:Task -> unit
override WaitSynchronously :
task:Task -> unit
override function WaitSynchronously(
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.