Compartilhar via


AsyncBarrier.SignalAndWait Method

Signals that a participant has completed work, and returns an awaitable that completes when all other participants have also completed.

Namespace:  Microsoft.VisualStudio.Threading
Assembly:  Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)

Syntax

'Declaration
Public Function SignalAndWait As Task
public Task SignalAndWait()
public:
Task^ SignalAndWait()
member SignalAndWait : unit -> Task
public function SignalAndWait() : Task

Return Value

Type: System.Threading.Tasks.Task
Returns Task.

.NET Framework Security

See Also

Reference

AsyncBarrier Class

Microsoft.VisualStudio.Threading Namespace