Share via


IVsTaskList3.RefreshOrAddTasksAsync Method

Refreshes all cached information asynchronously for the given tasks.

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

Syntax

'Declaration
Function RefreshOrAddTasksAsync ( _
    providerCookie As UInteger, _
    taskItemCount As Integer, _
    taskItems As IVsTaskItem() _
) As IVsTask
IVsTask RefreshOrAddTasksAsync(
    uint providerCookie,
    int taskItemCount,
    IVsTaskItem[] taskItems
)
IVsTask^ RefreshOrAddTasksAsync(
    [InAttribute] unsigned int providerCookie, 
    [InAttribute] int taskItemCount, 
    [InAttribute] array<IVsTaskItem^>^ taskItems
)
abstract RefreshOrAddTasksAsync : 
        providerCookie:uint32 * 
        taskItemCount:int * 
        taskItems:IVsTaskItem[] -> IVsTask
function RefreshOrAddTasksAsync(
    providerCookie : uint, 
    taskItemCount : int, 
    taskItems : IVsTaskItem[]
) : IVsTask

Parameters

  • taskItemCount
    Type: Int32

    [in] The number of tasks to refresh.

Return Value

Type: Microsoft.VisualStudio.Shell.Interop.IVsTask
The asynchronous task that you can use to schedule work that will be executed once the refresh operation is finished.

.NET Framework Security

See Also

Reference

IVsTaskList3 Interface

Microsoft.VisualStudio.Shell.Interop Namespace