다음을 통해 공유


IVsTaskList3.RefreshOrAddTasksAsync(UInt32, Int32, IVsTaskItem[]) Method

Definition

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.

Applies to