VsTaskLibraryHelper::CreateAndStartTask Method (IVsTaskSchedulerService^, VsTaskRunContext, IVsTaskBody^)
Visual Studio 2015
Creates a Visual Studio task that's executed with the specified context.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
public: static IVsTask^ CreateAndStartTask( IVsTaskSchedulerService^ scheduler, VsTaskRunContext context, IVsTaskBody^ pTaskBody )
Parameters
- scheduler
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsTaskSchedulerService^
[in] The task scheduler service.
- context
-
Type:
Microsoft.VisualStudio.Shell::VsTaskRunContext
[in] Where the task will be executed.
- pTaskBody
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsTaskBody^
[in] The action to be executed.
Show: