Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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.