Share via


CustomBuildEventArgs Constructors

Definition

Initializes a new instance of the CustomBuildEventArgs class.

Overloads

CustomBuildEventArgs()

Default constructor

CustomBuildEventArgs(String, String, String)

This constructor allows event data to be initialized.

CustomBuildEventArgs(String, String, String, DateTime)

This constructor allows event data to be initialized including timestamp.

CustomBuildEventArgs(String, String, String, DateTime, Object[])

This constructor allows event data to be initialized including timestamp.

CustomBuildEventArgs()

Source:
CustomBuildEventArgs.cs

Default constructor

protected:
 CustomBuildEventArgs();
protected CustomBuildEventArgs ();
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
protected CustomBuildEventArgs ();
Protected Sub New ()
Attributes

Applies to

CustomBuildEventArgs(String, String, String)

Source:
CustomBuildEventArgs.cs

This constructor allows event data to be initialized.

protected:
 CustomBuildEventArgs(System::String ^ message, System::String ^ helpKeyword, System::String ^ senderName);
protected CustomBuildEventArgs (string message, string helpKeyword, string senderName);
new Microsoft.Build.Framework.CustomBuildEventArgs : string * string * string -> Microsoft.Build.Framework.CustomBuildEventArgs
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 sender

Applies to

CustomBuildEventArgs(String, String, String, DateTime)

Source:
CustomBuildEventArgs.cs

This constructor allows event data to be initialized including timestamp.

protected:
 CustomBuildEventArgs(System::String ^ message, System::String ^ helpKeyword, System::String ^ senderName, DateTime eventTimestamp);
protected CustomBuildEventArgs (string message, string helpKeyword, string senderName, DateTime eventTimestamp);
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
protected CustomBuildEventArgs (string message, string helpKeyword, string senderName, DateTime eventTimestamp);
new Microsoft.Build.Framework.CustomBuildEventArgs : string * string * string * DateTime -> Microsoft.Build.Framework.CustomBuildEventArgs
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
new Microsoft.Build.Framework.CustomBuildEventArgs : string * string * string * DateTime -> Microsoft.Build.Framework.CustomBuildEventArgs
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 sender

eventTimestamp
DateTime

Timestamp when event was created

Attributes

Applies to

CustomBuildEventArgs(String, String, String, DateTime, Object[])

Source:
CustomBuildEventArgs.cs

This constructor allows event data to be initialized including timestamp.

protected:
 CustomBuildEventArgs(System::String ^ message, System::String ^ helpKeyword, System::String ^ senderName, DateTime eventTimestamp, ... cli::array <System::Object ^> ^ messageArgs);
protected CustomBuildEventArgs (string message, string helpKeyword, string senderName, DateTime eventTimestamp, params object[] messageArgs);
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
protected CustomBuildEventArgs (string message, string helpKeyword, string senderName, DateTime eventTimestamp, params object[] messageArgs);
new Microsoft.Build.Framework.CustomBuildEventArgs : string * string * string * DateTime * obj[] -> Microsoft.Build.Framework.CustomBuildEventArgs
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
new Microsoft.Build.Framework.CustomBuildEventArgs : string * string * string * DateTime * obj[] -> Microsoft.Build.Framework.CustomBuildEventArgs
Protected 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 sender

eventTimestamp
DateTime

Timestamp when event was created

messageArgs
Object[]

Message arguments

Attributes

Applies to