TargetFinishedEventArgs Class

 

Initializes a new instance of the TargetFinishedEventArgs class.

Namespace:   Microsoft.Build.Framework
Assembly:  Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)

System.Object
  System.EventArgs
    Microsoft.Build.Framework.BuildEventArgs
      Microsoft.Build.Framework.LazyFormattedBuildEventArgs
        Microsoft.Build.Framework.BuildStatusEventArgs
          Microsoft.Build.Framework.TargetFinishedEventArgs

[SerializableAttribute]
public class TargetFinishedEventArgs : BuildStatusEventArgs

NameDescription
System_CAPS_protmethodTargetFinishedEventArgs()

Initializes a new instance of the TargetFinishedEventArgs class.

System_CAPS_pubmethodTargetFinishedEventArgs(String, String, String, String, String, Boolean)

Initializes a new instance of the TargetFinishedEventArgs class with the specified Message, HelpKeyword, TargetName, ProjectFile, and Succeeded values.

System_CAPS_pubmethodTargetFinishedEventArgs(String, String, String, String, String, Boolean, DateTime, IEnumerable)

This constructor allows event data to be initialized including the timestamp when the event was created. Sender is assumed to be "MSBuild".

System_CAPS_pubmethodTargetFinishedEventArgs(String, String, String, String, String, Boolean, IEnumerable)

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

NameDescription
System_CAPS_pubpropertyBuildEventContext

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

System_CAPS_pubpropertyHelpKeyword

Gets the Help keyword for the event.(Inherited from BuildEventArgs.)

System_CAPS_pubpropertyMessage

Gets the formatted message.(Inherited from LazyFormattedBuildEventArgs.)

System_CAPS_pubpropertyProjectFile

Gets the name of the project file associated with the event.

System_CAPS_pubpropertySenderName

Gets the name of the Object raising the event.(Inherited from BuildEventArgs.)

System_CAPS_pubpropertySucceeded

Gets a value indicating whether the build of the target succeeded.

System_CAPS_pubpropertyTargetFile

Gets the name of the file that contains the implementation of this target.

System_CAPS_pubpropertyTargetName

Gets the name of the target associated with the event.

System_CAPS_pubpropertyTargetOutputs

Gets or sets an enumerator over all target outputs.

System_CAPS_pubpropertyThreadId

Gets an integer identifier for the thread that raised the event.(Inherited from BuildEventArgs.)

System_CAPS_pubpropertyTimestamp

Gets the time the event was raised as a DateTime.(Inherited from BuildEventArgs.)

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

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

.NET Framework
Available since 2.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: