JoinableTaskContextNode.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.JoinableTaskFactory
Public Overridable Function CreateFactory (collection As JoinableTaskCollection) As JoinableTaskFactory
Parameters
- collection
- JoinableTaskCollection
The collection that all tasks should be added to.
Returns
Returns JoinableTaskFactory.