다음을 통해 공유


BuildStatusEventArgs Constructors

Definition

Initializes a new instance of the BuildStatusEventArgs class.

Overloads

BuildStatusEventArgs()

Default constructor

BuildStatusEventArgs(String, String, String)

This constructor allows event data to be initialized.

BuildStatusEventArgs(String, String, String, DateTime)

This constructor allows timestamp to be set

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

This constructor allows timestamp to be set

BuildStatusEventArgs()

Source:
BuildStatusEventArgs.cs

Default constructor

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

Applies to

BuildStatusEventArgs(String, String, String)

Source:
BuildStatusEventArgs.cs

This constructor allows event data to be initialized.

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

BuildStatusEventArgs(String, String, String, DateTime)

Source:
BuildStatusEventArgs.cs

This constructor allows timestamp to be set

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

Attributes

Applies to

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

Source:
BuildStatusEventArgs.cs

This constructor allows timestamp to be set

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

eventTimestamp
DateTime

Timestamp when event was created

messageArgs
Object[]

Optional arguments for formatting the message string.

Attributes

Applies to