TargetStartedEventArgs Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the TargetStartedEventArgs class.
Overloads
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. |
TargetStartedEventArgs()
- Source:
- TargetStartedEventArgs.cs
Default constructor
protected:
TargetStartedEventArgs();
protected TargetStartedEventArgs ();
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
protected TargetStartedEventArgs ();
Protected Sub New ()
- Attributes
Applies to
TargetStartedEventArgs(String, String, String, String, String)
- Source:
- TargetStartedEventArgs.cs
This constructor allows event data to be initialized. Sender is assumed to be "MSBuild".
public:
TargetStartedEventArgs(System::String ^ message, System::String ^ helpKeyword, System::String ^ targetName, System::String ^ projectFile, System::String ^ targetFile);
public TargetStartedEventArgs (string message, string helpKeyword, string targetName, string projectFile, string targetFile);
new Microsoft.Build.Framework.TargetStartedEventArgs : string * string * string * string * string -> Microsoft.Build.Framework.TargetStartedEventArgs
Public Sub New (message As String, helpKeyword As String, targetName As String, projectFile As String, targetFile As String)
Parameters
- message
- String
text message
- helpKeyword
- String
help keyword
- targetName
- String
target name
- projectFile
- String
project file
- targetFile
- String
file in which the target is defined
Applies to
TargetStartedEventArgs(String, String, String, String, String, String, DateTime)
- Source:
- TargetStartedEventArgs.cs
This constructor allows event data to be initialized including the timestamp when the event was created.
public:
TargetStartedEventArgs(System::String ^ message, System::String ^ helpKeyword, System::String ^ targetName, System::String ^ projectFile, System::String ^ targetFile, System::String ^ parentTarget, DateTime eventTimestamp);
public TargetStartedEventArgs (string message, string helpKeyword, string targetName, string projectFile, string targetFile, string parentTarget, DateTime eventTimestamp);
new Microsoft.Build.Framework.TargetStartedEventArgs : string * string * string * string * string * string * DateTime -> Microsoft.Build.Framework.TargetStartedEventArgs
Public Sub New (message As String, helpKeyword As String, targetName As String, projectFile As String, targetFile As String, parentTarget As String, eventTimestamp As DateTime)
Parameters
- message
- String
text message
- helpKeyword
- String
help keyword
- targetName
- String
target name
- projectFile
- String
project file
- targetFile
- String
file in which the target is defined
- parentTarget
- String
The part of the target.
- eventTimestamp
- DateTime
Timestamp when the event was created
Applies to
TargetStartedEventArgs(String, String, String, String, String, String, TargetBuiltReason, DateTime)
- Source:
- TargetStartedEventArgs.cs
This constructor allows event data to be initialized.
public:
TargetStartedEventArgs(System::String ^ message, System::String ^ helpKeyword, System::String ^ targetName, System::String ^ projectFile, System::String ^ targetFile, System::String ^ parentTarget, Microsoft::Build::Framework::TargetBuiltReason buildReason, DateTime eventTimestamp);
public TargetStartedEventArgs (string message, string helpKeyword, string targetName, string projectFile, string targetFile, string parentTarget, Microsoft.Build.Framework.TargetBuiltReason buildReason, DateTime eventTimestamp);
new Microsoft.Build.Framework.TargetStartedEventArgs : string * string * string * string * string * string * Microsoft.Build.Framework.TargetBuiltReason * DateTime -> Microsoft.Build.Framework.TargetStartedEventArgs
Public Sub New (message As String, helpKeyword As String, targetName As String, projectFile As String, targetFile As String, parentTarget As String, buildReason As TargetBuiltReason, eventTimestamp As DateTime)
Parameters
- message
- String
text message
- helpKeyword
- String
help keyword
- targetName
- String
target name
- projectFile
- String
project file
- targetFile
- String
file in which the target is defined
- parentTarget
- String
The part of the target.
- buildReason
- TargetBuiltReason
The reason the parent built this target.
- eventTimestamp
- DateTime
Timestamp when the event was created