IVsTaskList3::RemoveTasksAsync Method (UInt32, Int32, array<IVsTaskItem^>^)

 

Removes tasks asynchronously from the task list.

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

IVsTask^ RemoveTasksAsync(
	unsigned int providerCookie,
	int taskItemCount,
	array<IVsTaskItem^>^ taskItems
)

Parameters

providerCookie
Type: System::UInt32

[in] The task provider ID given by the RegisterTaskProvider method.

taskItemCount
Type: System::Int32

[in] The number of tasks to remove.

taskItems
Type: array<Microsoft.VisualStudio.Shell.Interop::IVsTaskItem^>^

[in] An array of IVsTaskList items to remove.

Return Value

Type: Microsoft.VisualStudio.Shell.Interop::IVsTask^

The asynchronous task that you can use to schedule work that will be executed once the remove operation is finished.

Return to top
Show: