Compartir a través de


IVsSolutionLoadEvents.OnAfterBackgroundSolutionLoadComplete Method

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

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

Syntax

'Declaration
Function OnAfterBackgroundSolutionLoadComplete As Integer
int OnAfterBackgroundSolutionLoadComplete()
int OnAfterBackgroundSolutionLoadComplete()
abstract OnAfterBackgroundSolutionLoadComplete : unit -> int
function OnAfterBackgroundSolutionLoadComplete() : int

Return Value

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

Remarks

This event always fires after the initial opening of a solution when the solution reaches the SolutionExistsAndFullyLoaded_guid 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_guid is deactivated. When the new background loading of projects completes, then this event fires again. At that point the solution returns to the SolutionExistsAndFullyLoaded_guid state.

.NET Framework Security

See Also

Reference

IVsSolutionLoadEvents Interface

Microsoft.VisualStudio.Shell.Interop Namespace