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(String, 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, String)

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

TaskStartedEventArgs()

Source:
TaskStartedEventArgs.cs

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)

Source:
TaskStartedEventArgs.cs

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)

Source:
TaskStartedEventArgs.cs

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

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

Source:
TaskStartedEventArgs.cs

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, System::String ^ taskAssemblyLocation);
public TaskStartedEventArgs (string message, string helpKeyword, string projectFile, string taskFile, string taskName, string taskAssemblyLocation);
new Microsoft.Build.Framework.TaskStartedEventArgs : string * 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, taskAssemblyLocation 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

taskAssemblyLocation
String

The location of the assembly containing the implementation of the task.

Applies to

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

Source:
TaskStartedEventArgs.cs

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, System::String ^ taskAssemblyLocation);
public TaskStartedEventArgs (string message, string helpKeyword, string projectFile, string taskFile, string taskName, DateTime eventTimestamp, string taskAssemblyLocation);
new Microsoft.Build.Framework.TaskStartedEventArgs : string * string * string * string * string * DateTime * string -> 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, taskAssemblyLocation 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

eventTimestamp
DateTime

Timestamp when event was created

taskAssemblyLocation
String

The location of the assembly containing the implementation of the task.

Applies to