TargetFinishedEventArgs Class
Initializes a new instance of the TargetFinishedEventArgs class.
MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Inheritance Hierarchy
System.Object
EventArgs
Microsoft.Build.Framework.BuildEventArgs
Microsoft.Build.Framework.LazyFormattedBuildEventArgs
Microsoft.Build.Framework.BuildStatusEventArgs
Microsoft.Build.Framework.TargetFinishedEventArgs
Namespace: Microsoft.Build.Framework
Assembly: Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class TargetFinishedEventArgs _
Inherits BuildStatusEventArgs
[SerializableAttribute]
public class TargetFinishedEventArgs : BuildStatusEventArgs
[SerializableAttribute]
public ref class TargetFinishedEventArgs : public BuildStatusEventArgs
[<SerializableAttribute>]
type TargetFinishedEventArgs =
class
inherit BuildStatusEventArgs
end
public class TargetFinishedEventArgs extends BuildStatusEventArgs
The TargetFinishedEventArgs type exposes the following members.
Constructors
Name | Description | |
---|---|---|
TargetFinishedEventArgs() | Initializes a new instance of the TargetFinishedEventArgs class.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. | |
TargetFinishedEventArgs(String, String, String, String, String, Boolean) | Initializes a new instance of the TargetFinishedEventArgs class with the specified Message, HelpKeyword, TargetName, ProjectFile, and Succeeded values.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. | |
TargetFinishedEventArgs(String, String, String, String, String, Boolean, IEnumerable) | This constructor allows event data to be initialized. Sender is assumed to be "MSBuild".MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. | |
TargetFinishedEventArgs(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".MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. |
Top
Properties
Name | Description | |
---|---|---|
BuildEventContext | 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.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BuildEventArgs.) | |
HelpKeyword | Gets the Help keyword for the event.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BuildEventArgs.) | |
Message | Gets the formatted message.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from LazyFormattedBuildEventArgs.) | |
ProjectFile | Gets the name of the project file associated with the event.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. | |
SenderName | Gets the name of the Object raising the event.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BuildEventArgs.) | |
Succeeded | Gets a value indicating whether the build of the target succeeded.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. | |
TargetFile | Gets the name of the file that contains the implementation of this target.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. | |
TargetName | Gets the name of the target associated with the event.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. | |
TargetOutputs | Gets or sets an enumerator over all target outputs.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. | |
ThreadId | Gets an integer identifier for the thread that raised the event.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BuildEventArgs.) | |
Timestamp | Gets the time the event was raised as a DateTime.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BuildEventArgs.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
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
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.