Partager via


DelegatingJoinableTaskFactory.WaitSynchronously 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 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

.NET Framework Security

See Also

Reference

DelegatingJoinableTaskFactory Class

Microsoft.VisualStudio.Threading Namespace