Share via


IVsTask.ContinueWith Method

Appends the provided action to this task to be run after the task is run to completion. The action is invoked on the context provided.

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

Syntax

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

Parameters

Return Value

Type: Microsoft.VisualStudio.Shell.Interop.IVsTask
A new IVsTask instance that has the current task as its parent.

.NET Framework Security

See Also

Reference

IVsTask Interface

Microsoft.VisualStudio.Shell.Interop Namespace