VsTaskLibraryHelper::ContinueWhenAllCompleted Method (IVsTaskSchedulerService^, VsTaskRunContext, array<IVsTask^>^, IVsTaskBody^)
Visual Studio 2015
Creates a Visual Studio task that's run after the provided tasks have either finished running or been cancelled. Overrides ContinueWhenAllCompleted.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
public: [ExtensionAttribute] static IVsTask^ ContinueWhenAllCompleted( IVsTaskSchedulerService^ service, VsTaskRunContext context, array<IVsTask^>^ dependentTasks, IVsTaskBody^ taskBody )
Parameters
- service
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsTaskSchedulerService^
[in] The task scheduler service to use to create the task.
- context
-
Type:
Microsoft.VisualStudio.Shell::VsTaskRunContext
[in] Where to run this task.
- dependentTasks
-
Type:
array<Microsoft.VisualStudio.Shell.Interop::IVsTask^>^
[in] An array of tasks to wait.
- taskBody
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsTaskBody^
[in] Worker method for the task.
Return Value
Type: Microsoft.VisualStudio.Shell.Interop::IVsTask^The task scheduler service that's creating the task.
The task service takes ownership of dependent tasks after this call.
Show: