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

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

Applies to

MSBuild 17 ve diğer sürümler
Ürün Sürümler
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17

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

Source:
TaskStartedEventArgs.cs

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

C#
public TaskStartedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName);

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

MSBuild 17 ve diğer sürümler
Ürün Sürümler
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17

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

Source:
TaskStartedEventArgs.cs

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

C#
public TaskStartedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName, DateTime eventTimestamp);

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

MSBuild 17 ve diğer sürümler
Ürün Sürümler
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17

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

Source:
TaskStartedEventArgs.cs

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

C#
public TaskStartedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName, string taskAssemblyLocation);

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

MSBuild 17 ve MSBuild (.NET Core) 17
Ürün Sürümler
MSBuild 17
MSBuild (.NET Core) 17

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".

C#
public TaskStartedEventArgs(string message, string helpKeyword, string projectFile, string taskFile, string taskName, DateTime eventTimestamp, string taskAssemblyLocation);

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

MSBuild 17 ve MSBuild (.NET Core) 17
Ürün Sürümler
MSBuild 17
MSBuild (.NET Core) 17