IVsTaskList3.RemoveTasksAsync Method
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)
Syntax
'Declaration
Function RemoveTasksAsync ( _
providerCookie As UInteger, _
taskItemCount As Integer, _
taskItems As IVsTaskItem() _
) As IVsTask
IVsTask RemoveTasksAsync(
uint providerCookie,
int taskItemCount,
IVsTaskItem[] taskItems
)
IVsTask^ RemoveTasksAsync(
[InAttribute] unsigned int providerCookie,
[InAttribute] int taskItemCount,
[InAttribute] array<IVsTaskItem^>^ taskItems
)
abstract RemoveTasksAsync :
providerCookie:uint32 *
taskItemCount:int *
taskItems:IVsTaskItem[] -> IVsTask
function RemoveTasksAsync(
providerCookie : uint,
taskItemCount : int,
taskItems : IVsTaskItem[]
) : IVsTask
Parameters
providerCookie
Type: UInt32[in] The task provider ID given by the RegisterTaskProvider method.
taskItemCount
Type: 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.