IVsTaskSchedulerService::ContinueWhenAllCompleted Method (UInt32, UInt32, array<IVsTask^>^, IVsTaskBody^)

 

Creates an asynchrous task that is run after all the provided tasks have either finished running or have been cancelled.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

IVsTask^ ContinueWhenAllCompleted(
	unsigned int context,
	unsigned int dwTasks,
	array<IVsTask^>^ pDependentTasks,
	IVsTaskBody^ pTaskBody
)

Parameters

context
Type: System::UInt32

[in] Where to run this task.

dwTasks
Type: System::UInt32

[in] The number of tasks to wait.

pDependentTasks
Type: array<Microsoft.VisualStudio.Shell.Interop::IVsTask^>^

[in] An array of tasks to wait.

pTaskBody
Type: Microsoft.VisualStudio.Shell.Interop::IVsTaskBody^

[in] Worker method for the task.

Return Value

Type: Microsoft.VisualStudio.Shell.Interop::IVsTask^

The created task that runs after all of the other tasks have completed.

The task service takes ownership of dependent tasks after this call.

Return to top
Show: