TaskCommandLineEventArgs Constructor (String, String, MessageImportance)
Initializes a new instance of the TaskCommandLineEventArgs class with the specified command line 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.
Namespace: Microsoft.Build.Framework
Assembly: Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)
Syntax
'Declaration
Public Sub New ( _
commandLine As String, _
taskName As String, _
importance As MessageImportance _
)
public TaskCommandLineEventArgs(
string commandLine,
string taskName,
MessageImportance importance
)
public:
TaskCommandLineEventArgs(
String^ commandLine,
String^ taskName,
MessageImportance importance
)
new :
commandLine:string *
taskName:string *
importance:MessageImportance -> TaskCommandLineEventArgs
public function TaskCommandLineEventArgs(
commandLine : String,
taskName : String,
importance : MessageImportance
)
Parameters
commandLine
Type: System.StringThe command line used by the task to run the underlying program.
taskName
Type: System.StringThe name of the task raising the event.
importance
Type: Microsoft.Build.Framework.MessageImportanceThe MessageImportance of the message.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.
See Also
Reference
TaskCommandLineEventArgs Class