IVsTaskProvider3::GetProviderGuid Method (Guid)
Visual Studio 2015
Returns a unique Identifier for this provider. This is used to persist & restore per-provider data managed by the task list, such as user customizations of column width & order. If it is not practical to assign a GUID to this provider (e.g. the provider is dynamically created at run-time and the identity cannot be preserved across VS sessions), you may return GUID_NULL. However, you should be aware that certain functionality (such as UI settings persistence and the IVsTaskList2.SetActiveProvider method) will not work in that case.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Parameters
- pguidProvider
-
Type:
System::Guid
[out] A pointer to a Provider Identifier (an object of type GUID).
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell80.idl:
HRESULT IVsTaskProvider3::GetProviderGuid( [out] GUID* pguidProvider );
Show: