Compartilhar via


IVsTaskList3.RemoveTasksAsync(UInt32, Int32, IVsTaskItem[]) Method

Definition

Removes tasks asynchronously from the task list.

public:
 Microsoft::VisualStudio::Shell::Interop::IVsTask ^ RemoveTasksAsync(System::UInt32 providerCookie, int taskItemCount, cli::array <Microsoft::VisualStudio::Shell::Interop::IVsTaskItem ^> ^ taskItems);
public:
 Microsoft::VisualStudio::Shell::Interop::IVsTask ^ RemoveTasksAsync(unsigned int providerCookie, int taskItemCount, Platform::Array <Microsoft::VisualStudio::Shell::Interop::IVsTaskItem ^> ^ taskItems);
Microsoft::VisualStudio::Shell::Interop::IVsTask RemoveTasksAsync(unsigned int providerCookie, int taskItemCount, std::Array <Microsoft::VisualStudio::Shell::Interop::IVsTaskItem const &> const & taskItems);
public Microsoft.VisualStudio.Shell.Interop.IVsTask RemoveTasksAsync (uint providerCookie, int taskItemCount, Microsoft.VisualStudio.Shell.Interop.IVsTaskItem[] taskItems);
abstract member RemoveTasksAsync : uint32 * int * Microsoft.VisualStudio.Shell.Interop.IVsTaskItem[] -> Microsoft.VisualStudio.Shell.Interop.IVsTask
Public Function RemoveTasksAsync (providerCookie As UInteger, taskItemCount As Integer, taskItems As IVsTaskItem()) As IVsTask

Parameters

providerCookie
UInt32

[in] The task provider ID given by the RegisterTaskProvider(IVsTaskProvider, UInt32) method.

taskItemCount
Int32

[in] The number of tasks to remove.

taskItems
IVsTaskItem[]

[in] An array of IVsTaskList items to remove.

Returns

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

Applies to