BuildMessageEventArgs Class

Definition

Provides data for the MessageRaised event.

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

Constructors

BuildMessageEventArgs()

Initializes a new instance of the BuildMessageEventArgs class.

BuildMessageEventArgs(String, String, String, Int32, Int32, Int32, Int32, String, String, String, MessageImportance)

This constructor allows all event data to be initialized.

BuildMessageEventArgs(String, String, String, Int32, Int32, Int32, Int32, String, String, String, MessageImportance, DateTime)

This constructor allows timestamp to be set.

BuildMessageEventArgs(String, String, String, Int32, Int32, Int32, Int32, String, String, String, MessageImportance, DateTime, Object[])

This constructor allows timestamp to be set.

BuildMessageEventArgs(String, String, String, MessageImportance)

Initializes a new instance of the BuildMessageEventArgs class with the specified Message, HelpKeyword, SenderName, and Importance values.

BuildMessageEventArgs(String, String, String, MessageImportance, DateTime)

Initializes the BuildMessageEventArgs object.

BuildMessageEventArgs(String, String, String, MessageImportance, DateTime, Object[])

Initializes the BuildMessageEventArgs object.

Properties

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 associated with event.

ColumnNumber

Column number of interest in associated file.

EndColumnNumber

Ending column number of interest in associated file.

EndLineNumber

Ending line number of interest in associated file.

File

File associated with event.

HelpKeyword

Gets the Help keyword for the event.

(Inherited from BuildEventArgs)
Importance

Gets the importance of the event.

LineNumber

Line number of interest in associated file.

Message

Gets the message for the event.

(Inherited from BuildEventArgs)
Message

Gets the formatted message.

(Inherited from LazyFormattedBuildEventArgs)
ProjectFile

The project which was building when the message was issued.

SenderName

Gets the name of the Object raising the event.

(Inherited from BuildEventArgs)
Subcategory

The custom sub-type of 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)

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(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)

Applies to