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

 

Creates a task (using the specified options) that is run after all the given tasks are completed.

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

IVsTask^ ContinueWhenAllCompletedEx(
	unsigned int context,
	unsigned int dwTasks,
	array<IVsTask^>^ pDependentTasks,
	unsigned int options,
	IVsTaskBody^ pTaskBody,
	Object^ pAsyncState
)

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.

options
Type: System::UInt32

[in] The continuation options set for the task.

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

[in] Worker method for the task.

pAsyncState
Type: System::Object^

[in] Asynchronous state 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: