JoinableTaskCollection Constructor (JoinableTaskContext^, Boolean)

 

Initializes a new instance of JoinableTaskCollection with the specified task context.

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

public:
JoinableTaskCollection(
	JoinableTaskContext^ context,
	bool refCountAddedJobs = false
)

Parameters

context
Type: Microsoft.VisualStudio.Threading::JoinableTaskContext^

The JoinableTaskContext to which this collection applies.

refCountAddedJobs
Type: System::Boolean

true if JoinableTask instances added to the collection multiple times should remain in the collection until they are either removed the same number of times or until they are completed; false causes the first Remove call for a JoinableTask to remove it from this collection no matter how many times it had been added.

Return to top
Show: