次の方法で共有


BuildStartedEventArgs Class

Definition

Arguments for build started events.

public ref class BuildStartedEventArgs : Microsoft::Build::Framework::BuildStatusEventArgs
[System.Serializable]
public class BuildStartedEventArgs : Microsoft.Build.Framework.BuildStatusEventArgs
[<System.Serializable>]
type BuildStartedEventArgs = class
    inherit BuildStatusEventArgs
Public Class BuildStartedEventArgs
Inherits BuildStatusEventArgs
Inheritance
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()

Default constructor

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

Constructor to allow timestamp to be set

BuildStartedEventArgs(String, String, DateTime)

Constructor to allow timestamp to be set

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

Constructor to initialize all parameters. Sender field cannot be set here and is assumed to be "MSBuild"

BuildStartedEventArgs(String, String)

Constructor to initialize all parameters. Sender field cannot be set here and is assumed to be "MSBuild"

Fields

locker

Lock object.

(Inherited from LazyFormattedBuildEventArgs)

Properties

BuildEnvironment

The environment which is used at the start of the build

BuildEventContext

Event contextual information for the build event argument

(Inherited from BuildEventArgs)
HelpKeyword

Custom help keyword associated with event.

(Inherited from BuildEventArgs)
Message

Gets the formatted message.

(Inherited from LazyFormattedBuildEventArgs)
Message

Text of event.

(Inherited from BuildEventArgs)
RawMessage

Exposes the underlying message field without side-effects. Used for serialization.

(Inherited from BuildEventArgs)
RawTimestamp

Exposes the private timestamp field to derived types. Used for serialization. Avoids the side effects of calling the Timestamp getter.

(Inherited from BuildEventArgs)
SenderName

Name of the object sending this event.

(Inherited from BuildEventArgs)
ThreadId

The thread that raised event.

(Inherited from BuildEventArgs)
Timestamp

The time when event was raised.

(Inherited from BuildEventArgs)

Applies to