TaskFinishedEventArgs Constructors

Definition

Initializes a new instance of the TaskFinishedEventArgs class.

Overloads

TaskFinishedEventArgs()

Default constructor

TaskFinishedEventArgs(String, String, String, String, String, Boolean)

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

TaskFinishedEventArgs(String, String, String, String, String, Boolean, DateTime)

This constructor allows event data to be initialized and the timestamp to be set Sender is assumed to be "MSBuild".

TaskFinishedEventArgs()

Default constructor

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

Applies to

TaskFinishedEventArgs(String, String, String, String, String, Boolean)

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

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

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

succeeded
Boolean

true indicates task succeed

Applies to

TaskFinishedEventArgs(String, String, String, String, String, Boolean, DateTime)

This constructor allows event data to be initialized and the timestamp to be set Sender is assumed to be "MSBuild".

public:
 TaskFinishedEventArgs(System::String ^ message, System::String ^ helpKeyword, System::String ^ projectFile, System::String ^ taskFile, System::String ^ taskName, bool succeeded, DateTime eventTimestamp);
public TaskFinishedEventArgs (string message, string helpKeyword, string projectFile, string taskFile, string taskName, bool succeeded, DateTime eventTimestamp);
new Microsoft.Build.Framework.TaskFinishedEventArgs : string * string * string * string * string * bool * DateTime -> Microsoft.Build.Framework.TaskFinishedEventArgs
Public Sub New (message As String, helpKeyword As String, projectFile As String, taskFile As String, taskName As String, succeeded As Boolean, 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

succeeded
Boolean

true indicates task succeed

eventTimestamp
DateTime

Timestamp when event was created

Applies to