IVsTaskList.UpdateProviderInfo(UInt32) Method

Definition

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

public:
 int UpdateProviderInfo(System::UInt32 dwProviderCookie);
public:
 int UpdateProviderInfo(unsigned int dwProviderCookie);
int UpdateProviderInfo(unsigned int dwProviderCookie);
public int UpdateProviderInfo (uint dwProviderCookie);
abstract member UpdateProviderInfo : uint32 -> int
Public Function UpdateProviderInfo (dwProviderCookie As UInteger) As Integer

Parameters

dwProviderCookie
UInt32

[in] The task provider ID given by the RegisterTaskProvider(IVsTaskProvider, UInt32) method.

Returns

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

Remarks

COM Signature

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.

Applies to