TargetStartedEventArgs Class
Provides data for the TargetStarted 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.
Inheritance Hierarchy
System.Object
EventArgs
Microsoft.Build.Framework.BuildEventArgs
Microsoft.Build.Framework.LazyFormattedBuildEventArgs
Microsoft.Build.Framework.BuildStatusEventArgs
Microsoft.Build.Framework.TargetStartedEventArgs
Namespace: Microsoft.Build.Framework
Assembly: Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class TargetStartedEventArgs _
Inherits BuildStatusEventArgs
[SerializableAttribute]
public class TargetStartedEventArgs : BuildStatusEventArgs
[SerializableAttribute]
public ref class TargetStartedEventArgs : public BuildStatusEventArgs
[<SerializableAttribute>]
type TargetStartedEventArgs =
class
inherit BuildStatusEventArgs
end
public class TargetStartedEventArgs extends BuildStatusEventArgs
The TargetStartedEventArgs type exposes the following members.
Constructors
Name | Description | |
---|---|---|
TargetStartedEventArgs() | Initializes a new instance of the TargetStartedEventArgs 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. | |
TargetStartedEventArgs(String, String, String, String, String) | Initalizes a new instance of the TargetStartedEventArgs class with the valudes provided.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. | |
TargetStartedEventArgs(String, String, String, String, String, String, DateTime) | Represents the arguments for target started events.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.) | |
ParentTarget | Represents the target which caused this target to build.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. | |
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.) | |
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. | |
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
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.