IVsTaskList::UnregisterTaskProvider Method (UInt32)
Visual Studio 2015
Unregisters the specified task provider from the task list.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- dwProviderCookie
-
Type:
System::UInt32
[in] The task provider ID given by the RegisterTaskProvider method.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsTaskList::UnregisterTaskProvider(
[in] VSCOOKIE dwProviderCookie
);
Task providers should unregister from the task list when it is likely that they will no longer add tasks to the task list.
Show: