IVsTaskList.UnregisterTaskProvider(UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Unregisters the specified task provider from the task list.
public:
int UnregisterTaskProvider(System::UInt32 dwProviderCookie);
public:
int UnregisterTaskProvider(unsigned int dwProviderCookie);
int UnregisterTaskProvider(unsigned int dwProviderCookie);
public int UnregisterTaskProvider (uint dwProviderCookie);
abstract member UnregisterTaskProvider : uint32 -> int
Public Function UnregisterTaskProvider (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::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.