We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

IVsSolutionLoadEvents.OnAfterBackgroundSolutionLoadComplete Method

Fired when the solution load process is fully complete, including all background loading of projects.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

int OnAfterBackgroundSolutionLoadComplete()

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

This event always fires after the initial opening of a solution when the solution reaches the SolutionExistsAndFullyLoaded() state for the first time. It is fired whether or not a solution load manager exists. If background loading of solutions is not enabled, then this event will fire synchronously at the end of the solution opening process. If background loading of projects is enabled, then this event fires at an idle point after all project loading has completed. If some activity causes a new group of projects to start loading in the background after the initial opening of the solution has completed, then an OnBeforeBackgroundSolutionLoadBegins event is fired and SolutionExistsAndFullyLoaded() is deactivated. When the new background loading of projects completes, then this event fires again. At that point the solution returns to the SolutionExistsAndFullyLoaded() state.