BuildEventArgs 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 BuildEventArgs class.
Overloads
BuildEventArgs() |
Default constructor |
BuildEventArgs(String, String, String) |
This constructor allows all event data to be initialized |
BuildEventArgs(String, String, String, DateTime) |
This constructor allows all event data to be initialized while providing a custom timestamp. |
BuildEventArgs()
- Source:
- BuildEventArgs.cs
Default constructor
protected:
BuildEventArgs();
protected BuildEventArgs ();
Protected Sub New ()
Remarks
This implementation of the BuildEventArgs constructor takes no parameters, and sets the Timestamp property to Now and the ThreadId property to the current thread.
Applies to
BuildEventArgs(String, String, String)
- Source:
- BuildEventArgs.cs
This constructor allows all event data to be initialized
protected:
BuildEventArgs(System::String ^ message, System::String ^ helpKeyword, System::String ^ senderName);
protected BuildEventArgs (string message, string helpKeyword, string senderName);
protected BuildEventArgs (string? message, string? helpKeyword, string? senderName);
new Microsoft.Build.Framework.BuildEventArgs : string * string * string -> Microsoft.Build.Framework.BuildEventArgs
Protected Sub New (message As String, helpKeyword As String, senderName As String)
Parameters
- message
- String
text message
- helpKeyword
- String
help keyword
- senderName
- String
name of event sender
Applies to
BuildEventArgs(String, String, String, DateTime)
- Source:
- BuildEventArgs.cs
This constructor allows all event data to be initialized while providing a custom timestamp.
protected:
BuildEventArgs(System::String ^ message, System::String ^ helpKeyword, System::String ^ senderName, DateTime eventTimestamp);
protected BuildEventArgs (string message, string helpKeyword, string senderName, DateTime eventTimestamp);
protected BuildEventArgs (string? message, string? helpKeyword, string? senderName, DateTime eventTimestamp);
new Microsoft.Build.Framework.BuildEventArgs : string * string * string * DateTime -> Microsoft.Build.Framework.BuildEventArgs
Protected Sub New (message As String, helpKeyword As String, senderName As String, eventTimestamp As DateTime)
Parameters
- message
- String
text message
- helpKeyword
- String
help keyword
- senderName
- String
name of event sender
- eventTimestamp
- DateTime
TimeStamp of when the event was created