Share via


IVsTaskList.UpdateProviderInfo Method

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)

Syntax

'Declaration
Function UpdateProviderInfo ( _
    dwProviderCookie As UInteger _
) As Integer
int UpdateProviderInfo(
    uint dwProviderCookie
)
int UpdateProviderInfo(
    [InAttribute] unsigned int dwProviderCookie
)
abstract UpdateProviderInfo : 
        dwProviderCookie:uint32 -> int
function UpdateProviderInfo(
    dwProviderCookie : uint
) : int

Parameters

Return Value

Type: Int32
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.

.NET Framework Security

See Also

Reference

IVsTaskList Interface

Microsoft.VisualStudio.Shell.Interop Namespace