다음을 통해 공유


ProjectStartedEventArgs Class

Definition

Arguments for project started events

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

ProjectStartedEventArgs()

Default constructor

ProjectStartedEventArgs(Int32, String, String, String, String, IEnumerable, IEnumerable, BuildEventContext, DateTime)

This constructor allows event data to be initialized. Sender is assumed to be "MSBuild".

ProjectStartedEventArgs(Int32, String, String, String, String, IEnumerable, IEnumerable, BuildEventContext, IDictionary<String,String>, String)

This constructor allows event data to be initialized. Sender is assumed to be "MSBuild".

ProjectStartedEventArgs(Int32, String, String, String, String, IEnumerable, IEnumerable, BuildEventContext)

This constructor allows event data to be initialized. Sender is assumed to be "MSBuild".

ProjectStartedEventArgs(String, String, String, String, IEnumerable, IEnumerable, DateTime)

This constructor allows event data to be initialized. Also the timestamp can be set Sender is assumed to be "MSBuild".

ProjectStartedEventArgs(String, String, String, String, IEnumerable, IEnumerable)

This constructor allows event data to be initialized. Sender is assumed to be "MSBuild".

Fields

InvalidProjectId

Indicates an invalid project identifier.

locker

Lock object.

(Inherited from LazyFormattedBuildEventArgs)

Properties

BuildEventContext

Event contextual information for the build event argument

(Inherited from BuildEventArgs)
GlobalProperties

Gets the set of global properties used to evaluate this project.

HelpKeyword

Custom help keyword associated with event.

(Inherited from BuildEventArgs)
Items

List of items in this project. This is a live, read-only list.

Message
Message

Gets the formatted message.

(Inherited from LazyFormattedBuildEventArgs)
Message

Text of event.

(Inherited from BuildEventArgs)
ParentProjectBuildEventContext

Event context information, where the event was fired from in terms of the build location

ProjectFile

Project name

ProjectId

Gets the identifier of the project.

Properties

List of properties in this project. This is a live, read-only list.

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

Targets that we will build in the project

ThreadId

The thread that raised event.

(Inherited from BuildEventArgs)
Timestamp

The time when event was raised.

(Inherited from BuildEventArgs)
ToolsVersion

Gets the tools version used to evaluate this project.

Applies to