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
dwProviderCookie
Type: UInt32[in] The task provider ID given by the RegisterTaskProvider method.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.