IVsTaskList::UpdateProviderInfo Method (UInt32)

 

Updates the image and subcategory lists associated with the specified task provider.

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

int UpdateProviderInfo(
	unsigned int dwProviderCookie
)

Parameters

dwProviderCookie
Type: System::UInt32

[in] The task provider ID given by the RegisterTaskProvider method.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

HRESULT IVsTaskList::UpdateProviderInfo(
   [in] VSCOOKIE dwProviderCookie
);

The task list caches the subcategory and image lists of task providers so it does not have to keep getting them from the task provider. The task provider should call this method if the information in these lists changes while the task provider is registered with the task list.

Return to top
Show: