BuildMessageEventArgs BuildMessageEventArgs BuildMessageEventArgs BuildMessageEventArgs Class

Definition

Provides data for the MessageRaised event.

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

Constructors

BuildMessageEventArgs() BuildMessageEventArgs() BuildMessageEventArgs() BuildMessageEventArgs()

Initializes a new instance of the BuildMessageEventArgs class.

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

This constructor allows timestamp to be set.

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

This constructor allows timestamp to be set.

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

This constructor allows all event data to be initialized.

BuildMessageEventArgs(String, String, String, MessageImportance) BuildMessageEventArgs(String, String, String, MessageImportance) BuildMessageEventArgs(String, String, String, MessageImportance) 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) BuildMessageEventArgs(String, String, String, MessageImportance, DateTime) BuildMessageEventArgs(String, String, String, MessageImportance, DateTime) BuildMessageEventArgs(String, String, String, MessageImportance, DateTime)

Initializes the BuildMessageEventArgs object.

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

Initializes the BuildMessageEventArgs object.

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.

ColumnNumber ColumnNumber ColumnNumber ColumnNumber

Column number of interest in associated file.

EndColumnNumber EndColumnNumber EndColumnNumber EndColumnNumber

Ending column number of interest in associated file.

EndLineNumber EndLineNumber EndLineNumber EndLineNumber

Ending line number of interest in associated file.

File File File File

File associated with event.

HelpKeyword HelpKeyword HelpKeyword HelpKeyword

Gets the Help keyword for the event.

(Inherited from BuildEventArgs)
Importance Importance Importance Importance

Gets the importance of the event.

LineNumber LineNumber LineNumber LineNumber

Line number of interest in associated file.

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.

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.

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