다음을 통해 공유


ExternalProjectStartedEventArgs Class

Definition

Arguments for external project started events

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

ExternalProjectStartedEventArgs()

Default constructor

ExternalProjectStartedEventArgs(String, String, String, String, String, DateTime)

Useful constructor, including the ability to set the timestamp of the event

ExternalProjectStartedEventArgs(String, String, String, String, String)

Useful constructor

Fields

locker

Lock object.

(Inherited from LazyFormattedBuildEventArgs)

Properties

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

Project name

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. This may mean different things for different project types, our tasks will put something like Rebuild, Clean, etc. here. This may be null if the project is being built with the default target.

ThreadId

The thread that raised event.

(Inherited from BuildEventArgs)
Timestamp

The time when event was raised.

(Inherited from BuildEventArgs)

Applies to