JoinableTaskFactory Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
JoinableTaskFactory(JoinableTaskCollection) |
Initializes a new instance of the JoinableTaskFactory class that adds all generated jobs to the specified collection. |
JoinableTaskFactory(JoinableTaskContext) |
Initializes a new instance of the JoinableTaskFactory class. |
JoinableTaskFactory(JoinableTaskCollection)
Initializes a new instance of the JoinableTaskFactory class that adds all generated jobs to the specified collection.
public:
JoinableTaskFactory(Microsoft::VisualStudio::Threading::JoinableTaskCollection ^ collection);
public JoinableTaskFactory (Microsoft.VisualStudio.Threading.JoinableTaskCollection collection);
new Microsoft.VisualStudio.Threading.JoinableTaskFactory : Microsoft.VisualStudio.Threading.JoinableTaskCollection -> Microsoft.VisualStudio.Threading.JoinableTaskFactory
Public Sub New (collection As JoinableTaskCollection)
Parameters
- collection
- JoinableTaskCollection
The collection that all tasks created by this factory will belong to till they complete.
Applies to
JoinableTaskFactory(JoinableTaskContext)
Initializes a new instance of the JoinableTaskFactory class.
public:
JoinableTaskFactory(Microsoft::VisualStudio::Threading::JoinableTaskContext ^ owner);
public JoinableTaskFactory (Microsoft.VisualStudio.Threading.JoinableTaskContext owner);
new Microsoft.VisualStudio.Threading.JoinableTaskFactory : Microsoft.VisualStudio.Threading.JoinableTaskContext -> Microsoft.VisualStudio.Threading.JoinableTaskFactory
Public Sub New (owner As JoinableTaskContext)
Parameters
- owner
- JoinableTaskContext
The context for the tasks created by this factory.