Partager via


JoinableTaskFactory Constructor (JoinableTaskCollection)

Initializes a new instance of JoinableTaskFactory that adds all generated jobs to the specified collection.

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

Syntax

'Declaration
Public Sub New ( _
    collection As JoinableTaskCollection _
)
public JoinableTaskFactory(
    JoinableTaskCollection collection
)
public:
JoinableTaskFactory(
    JoinableTaskCollection^ collection
)
new : 
        collection:JoinableTaskCollection -> JoinableTaskFactory
public function JoinableTaskFactory(
    collection : JoinableTaskCollection
)

Parameters

.NET Framework Security

See Also

Reference

JoinableTaskFactory Class

JoinableTaskFactory Overload

Microsoft.VisualStudio.Threading Namespace