ProjectStartedEventArgs Constructor (Int32, String^, String^, String^, String^, IEnumerable^, IEnumerable^, BuildEventContext^)
Visual Studio 2015
Initializes a new instance of the ProjectStartedEventArgs class with the specified values.
MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Assembly: Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)
public: ProjectStartedEventArgs( int projectId, String^ message, String^ helpKeyword, String^ projectFile, String^ targetNames, IEnumerable^ properties, IEnumerable^ items, BuildEventContext^ parentBuildEventContext )
Parameters
- projectId
-
Type:
System::Int32
The unique ProjectId identifier for the project.
- message
-
Type:
System::String^
The text of the event.
- helpKeyword
-
Type:
System::String^
The Help keyword associated with the event.
- projectFile
-
Type:
System::String^
The project file name.
- targetNames
-
Type:
System::String^
The targets to be built.
- properties
-
Type:
System.Collections::IEnumerable^
A list of properties.
- items
-
Type:
System.Collections::IEnumerable^
A list of items.
- parentBuildEventContext
-
Type:
Microsoft.Build.Framework::BuildEventContext^
A BuildEventContext value that defines location contextual information. This is attached to logging events to define where they are located in relation to the process, engine, project, target, or task that is executing.
Show: