ProjectStartedEventArgs Constructor (String^, String^, String^, String^, IEnumerable^, IEnumerable^, DateTime)

 

This constructor allows event data to be initialized. Also the timestamp can be set Sender is assumed to be "MSBuild".

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.

Namespace:   Microsoft.Build.Framework
Assembly:  Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)

public:
ProjectStartedEventArgs(
	String^ message,
	String^ helpKeyword,
	String^ projectFile,
	String^ targetNames,
	IEnumerable^ properties,
	IEnumerable^ items,
	DateTime eventTimestamp
)

Parameters

message
Type: System::String^

text message

helpKeyword
Type: System::String^

help keyword

projectFile
Type: System::String^

project name

targetNames
Type: System::String^

targets we are going to build (empty indicates default targets)

properties
Type: System.Collections::IEnumerable^

list of properties

items
Type: System.Collections::IEnumerable^

list of items

eventTimestamp
Type: System::DateTime

time the event occurred

Return to top
Show: