TaskFinishedEventArgs Class

 

Provides data for the TaskFinished event.

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

[SerializableAttribute]
public class TaskFinishedEventArgs : BuildStatusEventArgs

NameDescription
System_CAPS_protmethodTaskFinishedEventArgs()

Initializes a new instance of the TaskFinishedEventArgs class.

System_CAPS_pubmethodTaskFinishedEventArgs(String, String, String, String, String, Boolean)

Initializes a new instance of the TaskFinishedEventArgs class with the specified values.

System_CAPS_pubmethodTaskFinishedEventArgs(String, String, String, String, String, Boolean, DateTime)

Initializes a new instance of the TaskFinishedEventArgs class with the specified values.

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 execution of the task succeeded.

System_CAPS_pubpropertyTaskFile

Gets the MSBuild file where the task is defined.

System_CAPS_pubpropertyTaskName

Gets the name of the task associated with the event.

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

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