BuildStartedEventArgs Class

Definition

Provides data for the BuildStarted event.

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

Remarks

WARNING: marking a type [Serializable] without implementing ISerializable imposes a serialization contract -- it is a promise to never change the type's fields i.e. the type is immutable; adding new fields in the next version of the type without following certain special FX guidelines, can break both forward and backward compatibility

Constructors

BuildStartedEventArgs()

Initializes a new instance of the BuildStartedEventArgs class.

BuildStartedEventArgs(String, String)

Initializes a new instance of the BuildStartedEventArgs class with the specified message and Help keyword.

BuildStartedEventArgs(String, String, DateTime)

Constructor to allow timestamp to be set.

BuildStartedEventArgs(String, String, DateTime, Object[])

Constructor to allow timestamp to be set.

BuildStartedEventArgs(String, String, IDictionary<String,String>)

Constructor to initialize all parameters.

Properties

BuildEnvironment

Gets the environment dictionary which is used at the start of the build.

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

Gets the Help keyword for the event.

(Inherited from BuildEventArgs)
Message

Gets the message for the event.

(Inherited from BuildEventArgs)
SenderName

Gets the name of the Object raising the event.

(Inherited from BuildEventArgs)
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