IVsTask::ContinueWithEx Method (UInt32, UInt32, IVsTaskBody^, Object^)

 

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

IVsTask^ ContinueWithEx(
	unsigned int context,
	unsigned int options,
	IVsTaskBody^ pTaskBody,
	Object^ pAsyncState
)

Parameters

context
Type: System::UInt32

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

options
Type: System::UInt32

[in] Allows setting task continuation options. Values are from __VSTASKCONTINUATIONOPTIONS.

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

[in] Action to be executed.

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.

Return to top
Show: