IVsTaskSchedulerService::CreateTaskEx Method (UInt32, UInt32, IVsTaskBody^, Object^)
Visual Studio 2015
Creates a task with the specified options that is run on the given context.
Assembly: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
IVsTask^ CreateTaskEx( 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] The creation options set for the task. Values are from __VSTASKCREATIONOPTIONS.
- pTaskBody
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsTaskBody^
[in] Action to be executed.
- pAsyncState
-
Type:
System::Object^
[in] The asynchronous state of the task.
Show: