Compartilhar via


IVsSolutionLoadEvents.OnAfterBackgroundSolutionLoadComplete Method

Definition

Caution

Use IVsSolutionEvents.OnAfterOpenSolution instead

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

public:
 int OnAfterBackgroundSolutionLoadComplete();
public:
 int OnAfterBackgroundSolutionLoadComplete();
int OnAfterBackgroundSolutionLoadComplete();
public int OnAfterBackgroundSolutionLoadComplete ();
[System.Obsolete("Use IVsSolutionEvents.OnAfterOpenSolution instead")]
public int OnAfterBackgroundSolutionLoadComplete ();
abstract member OnAfterBackgroundSolutionLoadComplete : unit -> int
[<System.Obsolete("Use IVsSolutionEvents.OnAfterOpenSolution instead")>]
abstract member OnAfterBackgroundSolutionLoadComplete : unit -> int
Public Function OnAfterBackgroundSolutionLoadComplete () As Integer

Returns

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

Attributes

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.

Applies to