LazyFormattedBuildEventArgs Constructors

Definition

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()

Source:
LazyFormattedBuildEventArgs.cs

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)

Source:
LazyFormattedBuildEventArgs.cs

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[])

Source:
LazyFormattedBuildEventArgs.cs

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.

Applies to