TaskCommandLineEventArgs Constructor (String^, String^, MessageImportance, DateTime)
Visual Studio 2015
Initializes a new instance of the TaskCommandLineEventArgs class with the specified command line, task name and MessageImportance.
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:
TaskCommandLineEventArgs(
String^ commandLine,
String^ taskName,
MessageImportance importance,
DateTime eventTimestamp
)
Parameters
- commandLine
-
Type:
System::String^
The command line used by the task to run the underlying program.
- taskName
-
Type:
System::String^
The name of the task raising the event.
- importance
-
Type:
Microsoft.Build.Framework::MessageImportance
The MessageImportance of the message.
- eventTimestamp
-
Type:
System::DateTime
The time the event occurred.
Show: