IVsTaskSchedulerService.ContinueWhenAllCompleted Method

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
Assemblies:   Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

Syntax

'Declaration
Function ContinueWhenAllCompleted ( _
    context As UInteger, _
    dwTasks As UInteger, _
    pDependentTasks As IVsTask(), _
    pTaskBody As IVsTaskBody _
) As IVsTask
IVsTask ContinueWhenAllCompleted(
    uint context,
    uint dwTasks,
    IVsTask[] pDependentTasks,
    IVsTaskBody pTaskBody
)
IVsTask^ ContinueWhenAllCompleted(
    [InAttribute] unsigned int context, 
    [InAttribute] unsigned int dwTasks, 
    [InAttribute] array<IVsTask^>^ pDependentTasks, 
    [InAttribute] IVsTaskBody^ pTaskBody
)
abstract ContinueWhenAllCompleted : 
        context:uint32 * 
        dwTasks:uint32 * 
        pDependentTasks:IVsTask[] * 
        pTaskBody:IVsTaskBody -> IVsTask
function ContinueWhenAllCompleted(
    context : uint, 
    dwTasks : uint, 
    pDependentTasks : IVsTask[], 
    pTaskBody : IVsTaskBody
) : IVsTask

Parameters

Return Value

Type: Microsoft.VisualStudio.Shell.Interop.IVsTask
The created task that runs after all of the other tasks have completed.

Remarks

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

.NET Framework Security

See Also

Reference

IVsTaskSchedulerService Interface

Microsoft.VisualStudio.Shell.Interop Namespace