This documentation is archived and is not being maintained.
TaskCommandLineEventArgs Class
Visual Studio 2010
Provides data for the MessageRaised event.
System::Object
System::EventArgs
Microsoft.Build.Framework::BuildEventArgs
Microsoft.Build.Framework::LazyFormattedBuildEventArgs
Microsoft.Build.Framework::BuildMessageEventArgs
Microsoft.Build.Framework::TaskCommandLineEventArgs
System::EventArgs
Microsoft.Build.Framework::BuildEventArgs
Microsoft.Build.Framework::LazyFormattedBuildEventArgs
Microsoft.Build.Framework::BuildMessageEventArgs
Microsoft.Build.Framework::TaskCommandLineEventArgs
Assembly: Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)
The TaskCommandLineEventArgs type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | TaskCommandLineEventArgs() | Initializes a new instance of the TaskCommandLineEventArgs class. |
![]() | TaskCommandLineEventArgs(String, String, MessageImportance) | Initializes a new instance of the TaskCommandLineEventArgs class with the specified command line and MessageImportance. |
![]() | TaskCommandLineEventArgs(String, String, MessageImportance, DateTime) | Initializes a new instance of the TaskCommandLineEventArgs class with the specified command line, task name and MessageImportance. |
| Name | Description | |
|---|---|---|
![]() | BuildEventContext | Gets or sets 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. (Inherited from BuildEventArgs.) |
![]() | CommandLine | Gets the command line used by the task to run the underlying program. |
![]() | HelpKeyword | Gets the Help keyword for the event. (Inherited from BuildEventArgs.) |
![]() | Importance | Gets the importance of the event. (Inherited from BuildMessageEventArgs.) |
![]() | Message | Gets the formatted message. (Inherited from LazyFormattedBuildEventArgs.) |
![]() | SenderName | Gets the name of the Object raising the event. (Inherited from BuildEventArgs.) |
![]() | TaskName | Gets the name of the task that raised the event. |
![]() | ThreadId | Gets an integer identifier for the thread that raised the event. (Inherited from BuildEventArgs.) |
![]() | Timestamp | Gets the time the event was raised as a DateTime. (Inherited from BuildEventArgs.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
TaskCommandLineEventArgs extends BuildMessageEventArgs so that the command line string used by a task to execute an underlying program can be logged as a message. Logging a command line string is only relevant for tasks that wrap an underlying program or emulate a shell command. Tasks that have no command line equivalent should not raise this extended message event.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
