IVsAsynchronousProjectCreate::OnBeforeCreateProjectAsync Method (Guid, String^, String^, String^, UInt32)

 

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)

void OnBeforeCreateProjectAsync(
	[InAttribute] Guid% rguidProjectID,
	String^ filename,
	String^ location,
	String^ pszName,
	unsigned int flags
)

Parameters

rguidProjectID
Type: System::Guid

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

filename
Type: System::String^

[in] Filename of the project.

location
Type: System::String^

[in] Location of the project.

pszName
Type: System::String^

[in] Project name.

flags
Type: System::UInt32

[in] Creation flags. Not used.

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.

Return to top
Show: