LazyFormattedBuildEventArgs 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.
Creates a LazyFormattedBuildEventArgs object.
Overloads
LazyFormattedBuildEventArgs() |
Default constructor. |
LazyFormattedBuildEventArgs(String, String, String) |
This constructor allows all event data to be initialized. |
LazyFormattedBuildEventArgs(String, String, String, DateTime, Object[]) |
This constructor that allows message arguments that are lazily formatted. |
LazyFormattedBuildEventArgs()
Default constructor.
protected:
LazyFormattedBuildEventArgs();
protected LazyFormattedBuildEventArgs ();
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
protected LazyFormattedBuildEventArgs ();
Protected Sub New ()
- Attributes
Applies to
LazyFormattedBuildEventArgs(String, String, String)
This constructor allows all event data to be initialized.
public:
LazyFormattedBuildEventArgs(System::String ^ message, System::String ^ helpKeyword, System::String ^ senderName);
public LazyFormattedBuildEventArgs (string message, string helpKeyword, string senderName);
public LazyFormattedBuildEventArgs (string? message, string? helpKeyword, string? senderName);
new Microsoft.Build.Framework.LazyFormattedBuildEventArgs : string * string * string -> Microsoft.Build.Framework.LazyFormattedBuildEventArgs
Public 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
LazyFormattedBuildEventArgs(String, String, String, DateTime, Object[])
This constructor that allows message arguments that are lazily formatted.
public:
LazyFormattedBuildEventArgs(System::String ^ message, System::String ^ helpKeyword, System::String ^ senderName, DateTime eventTimestamp, ... cli::array <System::Object ^> ^ messageArgs);
public LazyFormattedBuildEventArgs (string message, string helpKeyword, string senderName, DateTime eventTimestamp, params object[] messageArgs);
public LazyFormattedBuildEventArgs (string? message, string? helpKeyword, string? senderName, DateTime eventTimestamp, params object[]? messageArgs);
new Microsoft.Build.Framework.LazyFormattedBuildEventArgs : string * string * string * DateTime * obj[] -> Microsoft.Build.Framework.LazyFormattedBuildEventArgs
Public Sub New (message As String, helpKeyword As String, senderName As String, eventTimestamp As DateTime, ParamArray messageArgs As Object())
Parameters
- message
- String
text message.
- helpKeyword
- String
help keyword.
- senderName
- String
name of event sender.
- eventTimestamp
- DateTime
Timestamp when event was created.
- messageArgs
- Object[]
Message arguments.