Share via


IVsAsynchronousProjectCreate.OnBeforeCreateProjectAsync Method

Definition

Called if canOpenAsync from CanCreateProjectAsynchronously(Guid, String, UInt32) is not VARIANT_FALSE and if the project has been successfully scheduled for background loading.

public:
 void OnBeforeCreateProjectAsync(Guid % rguidProjectID, System::String ^ filename, System::String ^ location, System::String ^ pszName, System::UInt32 flags);
public void OnBeforeCreateProjectAsync (ref Guid rguidProjectID, string filename, string location, string pszName, uint flags);
abstract member OnBeforeCreateProjectAsync : Guid * string * string * string * uint32 -> unit
Public Sub OnBeforeCreateProjectAsync (ByRef rguidProjectID As Guid, filename As String, location As String, pszName As String, flags As UInteger)

Parameters

rguidProjectID
Guid

[in] GUID of the project in the solution file (the same as what is returned by GetGuidOfProject(IVsHierarchy, Guid)).

filename
String

[in] Filename of the project.

location
String

[in] Location of the project.

pszName
String

[in] Project name.

flags
UInt32

[in] Creation flags. Not used.

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.

Applies to