IVsAsynchronousProjectCreateUI::OnAfterProjectProvisioned Method (IVsHierarchy^)
Called when a project that supports Asynchronous Solution Load is loaded in the background.
Assembly: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
Parameters
- pHier
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^
[in] The hierarchy in which the event occurred.
While projects that support Asynchronous Solution Load are loading, they are exposed in the Solution as an unloaded project stub. When the project loading in the background reaches the "provisioned" state and this event is fired, the real project has been created but has not been publicized using the solution load events. Therefore pHier is still the stub hierarchy and not the real project hierarchy. At this point, only basic hierarchy properties are available, such as the project name and icon.
Typically this event will only be used by components that need to show UI updates as a project loads in the background. The event is not raised for projects that are force loaded due to user actions, such as expanding a project node in Solution Explorer.