Share via


IVsTask.ContinueWithEx Method

Appends the provided action (using the specified options) 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.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 ContinueWithEx ( _
    context As UInteger, _
    options As UInteger, _
    pTaskBody As IVsTaskBody, _
    pAsyncState As Object _
) As IVsTask
IVsTask ContinueWithEx(
    uint context,
    uint options,
    IVsTaskBody pTaskBody,
    Object pAsyncState
)
IVsTask^ ContinueWithEx(
    [InAttribute] unsigned int context, 
    [InAttribute] unsigned int options, 
    [InAttribute] IVsTaskBody^ pTaskBody, 
    [InAttribute] Object^ pAsyncState
)
abstract ContinueWithEx : 
        context:uint32 * 
        options:uint32 * 
        pTaskBody:IVsTaskBody * 
        pAsyncState:Object -> IVsTask
function ContinueWithEx(
    context : uint, 
    options : uint, 
    pTaskBody : IVsTaskBody, 
    pAsyncState : Object
) : IVsTask

Parameters

  • pAsyncState
    Type: System.Object

    [in] The asynchronous state of the task.

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