TaskStartedEventArgs Constructors

Definition

Initializes a new instance of the TaskStartedEventArgs class.

Overloads

TaskStartedEventArgs()

Default constructor

TaskStartedEventArgs(String, String, String, String, String)

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

TaskStartedEventArgs(String, String, String, String, String, DateTime)

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

TaskStartedEventArgs()

Default constructor

protected:
 TaskStartedEventArgs();
protected TaskStartedEventArgs ();
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
protected TaskStartedEventArgs ();
Protected Sub New ()
Attributes

Applies to

TaskStartedEventArgs(String, String, String, String, String)

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

public:
 TaskStartedEventArgs(System::String ^ message, System::String ^ helpKeyword, System::String ^ projectFile, System::String ^ taskFile, System::String ^ taskName);
public TaskStartedEventArgs (string message, string helpKeyword, string projectFile, string taskFile, string taskName);
new Microsoft.Build.Framework.TaskStartedEventArgs : string * string * string * string * string -> Microsoft.Build.Framework.TaskStartedEventArgs
Public Sub New (message As String, helpKeyword As String, projectFile As String, taskFile As String, taskName As String)

Parameters

message
String

text message

helpKeyword
String

help keyword

projectFile
String

project file

taskFile
String

file in which the task is defined

taskName
String

task name

Applies to

TaskStartedEventArgs(String, String, String, String, String, DateTime)

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

public:
 TaskStartedEventArgs(System::String ^ message, System::String ^ helpKeyword, System::String ^ projectFile, System::String ^ taskFile, System::String ^ taskName, DateTime eventTimestamp);
public TaskStartedEventArgs (string message, string helpKeyword, string projectFile, string taskFile, string taskName, DateTime eventTimestamp);
new Microsoft.Build.Framework.TaskStartedEventArgs : string * string * string * string * string * DateTime -> Microsoft.Build.Framework.TaskStartedEventArgs
Public Sub New (message As String, helpKeyword As String, projectFile As String, taskFile As String, taskName As String, eventTimestamp As DateTime)

Parameters

message
String

text message

helpKeyword
String

help keyword

projectFile
String

project file

taskFile
String

file in which the task is defined

taskName
String

task name

eventTimestamp
DateTime

Timestamp when event was created

Applies to