BuildFinishedEventArgs Constructors

Definition

Initializes a new instance of the BuildFinishedEventArgs class.

Overloads

BuildFinishedEventArgs()

Default constructor

BuildFinishedEventArgs(String, String, Boolean)

Constructor to initialize all parameters. Sender field cannot be set here and is assumed to be "MSBuild"

BuildFinishedEventArgs(String, String, Boolean, DateTime)

Constructor which allows the timestamp to be set

BuildFinishedEventArgs(String, String, Boolean, DateTime, Object[])

Constructor which allows the timestamp to be set

BuildFinishedEventArgs()

Default constructor

protected:
 BuildFinishedEventArgs();
protected BuildFinishedEventArgs ();
Protected Sub New ()

BuildFinishedEventArgs(String, String, Boolean)

Constructor to initialize all parameters. Sender field cannot be set here and is assumed to be "MSBuild"

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

Parameters

message
String

text message

helpKeyword
String

help keyword

succeeded
Boolean

True indicates a successful build

BuildFinishedEventArgs(String, String, Boolean, DateTime)

Constructor which allows the timestamp to be set

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

Parameters

message
String

text message

helpKeyword
String

help keyword

succeeded
Boolean

True indicates a successful build

eventTimestamp
DateTime

Timestamp when the event was created

BuildFinishedEventArgs(String, String, Boolean, DateTime, Object[])

Constructor which allows the timestamp to be set

public:
 BuildFinishedEventArgs(System::String ^ message, System::String ^ helpKeyword, bool succeeded, DateTime eventTimestamp, ... cli::array <System::Object ^> ^ messageArgs);
public BuildFinishedEventArgs (string message, string helpKeyword, bool succeeded, DateTime eventTimestamp, params object[] messageArgs);
new Microsoft.Build.Framework.BuildFinishedEventArgs : string * string * bool * DateTime * obj[] -> Microsoft.Build.Framework.BuildFinishedEventArgs
Public Sub New (message As String, helpKeyword As String, succeeded As Boolean, eventTimestamp As DateTime, ParamArray messageArgs As Object())

Parameters

message
String

text message

helpKeyword
String

help keyword

succeeded
Boolean

True indicates a successful build

eventTimestamp
DateTime

Timestamp when the event was created

messageArgs
Object[]

message arguments

Applies to