Dela via


IVsAsynchronousProjectCreateUI.OnAfterProjectProvisioned Method

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

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

Syntax

'Declaration
Sub OnAfterProjectProvisioned ( _
    pHier As IVsHierarchy _
)
void OnAfterProjectProvisioned(
    IVsHierarchy pHier
)
void OnAfterProjectProvisioned(
    [InAttribute] IVsHierarchy^ pHier
)
abstract OnAfterProjectProvisioned : 
        pHier:IVsHierarchy -> unit
function OnAfterProjectProvisioned(
    pHier : IVsHierarchy
)

Parameters

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.

.NET Framework Security

See Also

Reference

IVsAsynchronousProjectCreateUI Interface

Microsoft.VisualStudio.Shell.Interop Namespace