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
providerCookie
Type: UInt32[in] The task provider ID given by the RegisterTaskProvider method.
taskItemCount
Type: Int32[in] The number of tasks to refresh.
taskItems
Type: array<Microsoft.VisualStudio.Shell.Interop.IVsTaskItem[][in] An array of IVsTaskList items 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
- 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.