Freigeben über


JoinableTaskContext.CreateCollection Method

Creates a collection for in-flight joinable tasks.

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

Syntax

'Declaration
Public Function CreateCollection As JoinableTaskCollection
public JoinableTaskCollection CreateCollection()
public:
JoinableTaskCollection^ CreateCollection()
member CreateCollection : unit -> JoinableTaskCollection
public function CreateCollection() : JoinableTaskCollection

Return Value

Type: Microsoft.VisualStudio.Threading.JoinableTaskCollection
A new JoinableTaskCollection.

.NET Framework Security

See Also

Reference

JoinableTaskContext Class

Microsoft.VisualStudio.Threading Namespace