IVsTaskList3.RefreshOrAddTasksAsync(UInt32, Int32, IVsTaskItem[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Refreshes all cached information asynchronously for the given tasks.
public:
Microsoft::VisualStudio::Shell::Interop::IVsTask ^ RefreshOrAddTasksAsync(System::UInt32 providerCookie, int taskItemCount, cli::array <Microsoft::VisualStudio::Shell::Interop::IVsTaskItem ^> ^ taskItems);
public:
Microsoft::VisualStudio::Shell::Interop::IVsTask ^ RefreshOrAddTasksAsync(unsigned int providerCookie, int taskItemCount, Platform::Array <Microsoft::VisualStudio::Shell::Interop::IVsTaskItem ^> ^ taskItems);
Microsoft::VisualStudio::Shell::Interop::IVsTask RefreshOrAddTasksAsync(unsigned int providerCookie, int taskItemCount, std::Array <Microsoft::VisualStudio::Shell::Interop::IVsTaskItem const &> const & taskItems);
public Microsoft.VisualStudio.Shell.Interop.IVsTask RefreshOrAddTasksAsync (uint providerCookie, int taskItemCount, Microsoft.VisualStudio.Shell.Interop.IVsTaskItem[] taskItems);
abstract member RefreshOrAddTasksAsync : uint32 * int * Microsoft.VisualStudio.Shell.Interop.IVsTaskItem[] -> Microsoft.VisualStudio.Shell.Interop.IVsTask
Public Function RefreshOrAddTasksAsync (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 refresh.
- taskItems
- IVsTaskItem[]
[in] An array of IVsTaskList items to refresh.
Returns
The asynchronous task that you can use to schedule work that will be executed once the refresh operation is finished.