ProjectFinishedEventArgs Constructors

Definition

Initializes a new instance of the ProjectFinishedEventArgs class.

Overloads

ProjectFinishedEventArgs()

Default constructor

ProjectFinishedEventArgs(String, String, String, Boolean)

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

ProjectFinishedEventArgs(String, String, String, Boolean, DateTime)

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

ProjectFinishedEventArgs()

Source:
ProjectFinishedEventArgs.cs

Default constructor

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

Applies to

ProjectFinishedEventArgs(String, String, String, Boolean)

Source:
ProjectFinishedEventArgs.cs

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

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

Parameters

message
String

text message

helpKeyword
String

help keyword

projectFile
String

name of the project

succeeded
Boolean

true indicates project built successfully

Applies to

ProjectFinishedEventArgs(String, String, String, Boolean, DateTime)

Source:
ProjectFinishedEventArgs.cs

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

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

Parameters

message
String

text message

helpKeyword
String

help keyword

projectFile
String

name of the project

succeeded
Boolean

true indicates project built successfully

eventTimestamp
DateTime

Timestamp when the event was created

Applies to