TaskCommandLineEventArgs TaskCommandLineEventArgs TaskCommandLineEventArgs TaskCommandLineEventArgs Class

Definition

Provides data for the MessageRaised event.

public ref class TaskCommandLineEventArgs : Microsoft::Build::Framework::BuildMessageEventArgs
[System.Serializable]
public class TaskCommandLineEventArgs : Microsoft.Build.Framework.BuildMessageEventArgs
type TaskCommandLineEventArgs = class
    inherit BuildMessageEventArgs
Public Class TaskCommandLineEventArgs
Inherits BuildMessageEventArgs
Inheritance
Attributes

Remarks

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.

Constructors

TaskCommandLineEventArgs() TaskCommandLineEventArgs() TaskCommandLineEventArgs() TaskCommandLineEventArgs()

Initializes a new instance of the TaskCommandLineEventArgs class.

TaskCommandLineEventArgs(String, String, MessageImportance) TaskCommandLineEventArgs(String, String, MessageImportance) TaskCommandLineEventArgs(String, String, MessageImportance) TaskCommandLineEventArgs(String, String, MessageImportance)

Initializes a new instance of the TaskCommandLineEventArgs class with the specified command line and MessageImportance.

TaskCommandLineEventArgs(String, String, MessageImportance, DateTime) TaskCommandLineEventArgs(String, String, MessageImportance, DateTime) TaskCommandLineEventArgs(String, String, MessageImportance, DateTime) TaskCommandLineEventArgs(String, String, MessageImportance, DateTime)

Initializes a new instance of the TaskCommandLineEventArgs class with the specified command line, task name and MessageImportance.

Properties

BuildEventContext BuildEventContext BuildEventContext 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)
Code Code Code Code

Code associated with event.

(Inherited from BuildMessageEventArgs)
ColumnNumber ColumnNumber ColumnNumber ColumnNumber

Column number of interest in associated file.

(Inherited from BuildMessageEventArgs)
CommandLine CommandLine CommandLine CommandLine

Gets the command line used by the task to run the underlying program.

EndColumnNumber EndColumnNumber EndColumnNumber EndColumnNumber

Ending column number of interest in associated file.

(Inherited from BuildMessageEventArgs)
EndLineNumber EndLineNumber EndLineNumber EndLineNumber

Ending line number of interest in associated file.

(Inherited from BuildMessageEventArgs)
File File File File

File associated with event.

(Inherited from BuildMessageEventArgs)
HelpKeyword HelpKeyword HelpKeyword HelpKeyword

Gets the Help keyword for the event.

(Inherited from BuildEventArgs)
Importance Importance Importance Importance

Gets the importance of the event.

(Inherited from BuildMessageEventArgs)
LineNumber LineNumber LineNumber LineNumber

Line number of interest in associated file.

(Inherited from BuildMessageEventArgs)
Message Message Message Message

Gets the message for the event.

(Inherited from BuildEventArgs)
ProjectFile ProjectFile ProjectFile ProjectFile

The project which was building when the message was issued.

(Inherited from BuildMessageEventArgs)
SenderName SenderName SenderName SenderName

Gets the name of the Object raising the event.

(Inherited from BuildEventArgs)
Subcategory Subcategory Subcategory Subcategory

The custom sub-type of the event.

(Inherited from BuildMessageEventArgs)
TaskName TaskName TaskName TaskName

Gets the name of the task that raised the event.

ThreadId ThreadId ThreadId ThreadId

Gets an integer identifier for the thread that raised the event.

(Inherited from BuildEventArgs)
Timestamp Timestamp Timestamp Timestamp

Gets the time the event was raised as a DateTime.

(Inherited from BuildEventArgs)

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to