VsTaskLibraryHelper::ContinueWith Method (IVsTask^, VsTaskRunContext, IVsTaskBody^)

 

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

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public:
[ExtensionAttribute]
static IVsTask^ ContinueWith(
	IVsTask^ task,
	VsTaskRunContext context,
	IVsTaskBody^ body
)

Parameters

task
Type: Microsoft.VisualStudio.Shell.Interop::IVsTask^

[in] The task to which to append the action.

context
Type: Microsoft.VisualStudio.Shell::VsTaskRunContext

[in] Where to run this task.

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

[in] The action to be executed.

Return Value

Type: Microsoft.VisualStudio.Shell.Interop::IVsTask^

A new IVsTask instance that has the current task as its parent.

Return to top
Show: