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

 

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)

IVsTask^ RefreshOrAddTasksAsync(
	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 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.

Return to top
Show: