IVsTask::ContinueWith Method (UInt32, IVsTaskBody^)

 

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

IVsTask^ ContinueWith(
	unsigned int context,
	IVsTaskBody^ pTaskBody
)

Parameters

context
Type: System::UInt32

[in] Where to run this task. Values are from __VSTASKRUNCONTEXT.

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

[in] 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: