IVsTaskList2::SetActiveProvider Method (Guid)
Visual Studio 2015
Selects the provider currently displayed in the tasklist.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Parameters
- rguidProvider
-
Type:
System::Guid
[in] A Provider Identifier; an object of type REFGUID.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Selecting the provider currently displayed in the tasklist should not be done automatically (e.g. in response to a build or run action), but only when explicitly requested by the user. Users get annoyed when we switch things like this automatically.
From vsshell80.idl:
HRESULT SetActiveProvider(
[in] REFGUID rguidProvider
);
Show: