IVsAsynchronousProjectCreate.OnBeforeCreateProjectAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.