BuildFinishedEventArgs Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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()
- Source:
- BuildFinishedEventArgs.cs
Default constructor
protected:
BuildFinishedEventArgs();
protected BuildFinishedEventArgs ();
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
protected BuildFinishedEventArgs ();
Protected Sub New ()
- Attributes
Applies to
BuildFinishedEventArgs(String, String, Boolean)
- Source:
- BuildFinishedEventArgs.cs
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);
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
Applies to
BuildFinishedEventArgs(String, String, Boolean, DateTime)
- Source:
- BuildFinishedEventArgs.cs
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);
public BuildFinishedEventArgs (string? message, string? helpKeyword, bool succeeded, DateTime eventTimestamp);
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public BuildFinishedEventArgs (string message, string helpKeyword, bool succeeded, DateTime eventTimestamp);
new Microsoft.Build.Framework.BuildFinishedEventArgs : string * string * bool * DateTime -> Microsoft.Build.Framework.BuildFinishedEventArgs
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
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
- Attributes
Applies to
BuildFinishedEventArgs(String, String, Boolean, DateTime, Object[])
- Source:
- BuildFinishedEventArgs.cs
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);
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