Share via


IVsAsynchronousProjectCreate.OnBeforeCreateProjectAsync Method

Called if canOpenAsync from CanCreateProjectAsynchronously is not VARIANT_FALSE and if the project has been successfully scheduled for background loading.

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

Syntax

'Declaration
Sub OnBeforeCreateProjectAsync ( _
    ByRef rguidProjectID As Guid, _
    filename As String, _
    location As String, _
    pszName As String, _
    flags As UInteger _
)
void OnBeforeCreateProjectAsync(
    ref Guid rguidProjectID,
    string filename,
    string location,
    string pszName,
    uint flags
)
void OnBeforeCreateProjectAsync(
    [InAttribute] Guid% rguidProjectID, 
    [InAttribute] String^ filename, 
    [InAttribute] String^ location, 
    [InAttribute] String^ pszName, 
    [InAttribute] unsigned int flags
)
abstract OnBeforeCreateProjectAsync : 
        rguidProjectID:Guid byref * 
        filename:string * 
        location:string * 
        pszName:string * 
        flags:uint32 -> unit
function OnBeforeCreateProjectAsync(
    rguidProjectID : Guid, 
    filename : String, 
    location : String, 
    pszName : String, 
    flags : uint
)

Parameters

Remarks

The call to this method should occur during the synchronous portion of the solution load and allows project factories to start pre-emptive, concurrent and non-blocking work to improve the performance of project loading.

.NET Framework Security

See Also

Reference

IVsAsynchronousProjectCreate Interface

Microsoft.VisualStudio.Shell.Interop Namespace