Compartir a través de


JoinableTaskCollection.JoinTillEmptyAsync Method

Joins the caller's context to this collection till the collection is empty.

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

Syntax

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

Return Value

Type: System.Threading.Tasks.Task
A task that completes when this collection is empty.

.NET Framework Security

See Also

Reference

JoinableTaskCollection Class

Microsoft.VisualStudio.Threading Namespace