Udostępnij za pośrednictwem


IVsAsynchronousProjectCreateUI.OnAfterProjectProvisioned(IVsHierarchy) Method

Definition

Called when a project that supports Asynchronous Solution Load is loaded in the background.

public:
 void OnAfterProjectProvisioned(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHier);
public:
 void OnAfterProjectProvisioned(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHier);
void OnAfterProjectProvisioned(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pHier);
public void OnAfterProjectProvisioned (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHier);
abstract member OnAfterProjectProvisioned : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy -> unit
Public Sub OnAfterProjectProvisioned (pHier As IVsHierarchy)

Parameters

pHier
IVsHierarchy

[in] The hierarchy in which the event occurred.

Remarks

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.

Applies to