IVsTaskSchedulerService::CreateTask Method (UInt32, IVsTaskBody^)

 

Creates a task that is run on the given context.

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

IVsTask^ CreateTask(
	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^

The task to be run.

Return to top
Show: