TargetStartedEventArgs Class

Definition

Arguments for target started events

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

Constructors

TargetStartedEventArgs()

Default constructor

TargetStartedEventArgs(String, String, String, String, String)

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

TargetStartedEventArgs(String, String, String, String, String, String, DateTime)

This constructor allows event data to be initialized including the timestamp when the event was created.

TargetStartedEventArgs(String, String, String, String, String, String, TargetBuiltReason, DateTime)

This constructor allows event data to be initialized.

Properties

BuildEventContext

Event contextual information for the build event argument

(Inherited from BuildEventArgs)
BuildReason

Why this target was built by its parent.

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

Target which caused this target to build

ProjectFile

Project file associated with event.

SenderName

Name of the object sending this event.

(Inherited from BuildEventArgs)
TargetFile

File where this target was declared.

TargetName

target name

ThreadId

The thread that raised event.

(Inherited from BuildEventArgs)
Timestamp

The time when event was raised.

(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