JoinableTaskContext.CreateFactory(JoinableTaskCollection) Method    
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.
Creates a joinable task factory that automatically adds all created tasks to a collection that can be jointly joined.
public:
 virtual Microsoft::VisualStudio::Threading::JoinableTaskFactory ^ CreateFactory(Microsoft::VisualStudio::Threading::JoinableTaskCollection ^ collection);public virtual Microsoft.VisualStudio.Threading.JoinableTaskFactory CreateFactory(Microsoft.VisualStudio.Threading.JoinableTaskCollection collection);abstract member CreateFactory : Microsoft.VisualStudio.Threading.JoinableTaskCollection -> Microsoft.VisualStudio.Threading.JoinableTaskFactory
override this.CreateFactory : Microsoft.VisualStudio.Threading.JoinableTaskCollection -> Microsoft.VisualStudio.Threading.JoinableTaskFactoryPublic Overridable Function CreateFactory (collection As JoinableTaskCollection) As JoinableTaskFactoryParameters
- collection
- JoinableTaskCollection
The collection that all tasks should be added to.
Returns
Returns JoinableTaskFactory.