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

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

Applies to

MSBuild 17 dan versi lain
Produk Versi
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17

BuildStatusEventArgs(String, String, String)

Source:
BuildStatusEventArgs.cs

This constructor allows event data to be initialized.

C#
protected BuildStatusEventArgs(string message, string helpKeyword, string senderName);
C#
protected BuildStatusEventArgs(string? message, string? helpKeyword, string? senderName);

Parameters

message
String

text message

helpKeyword
String

help keyword

senderName
String

name of event sender

Applies to

MSBuild 17 dan versi lain
Produk Versi
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17

BuildStatusEventArgs(String, String, String, DateTime)

Source:
BuildStatusEventArgs.cs

This constructor allows timestamp to be set

C#
protected BuildStatusEventArgs(string message, string helpKeyword, string senderName, DateTime eventTimestamp);
C#
protected BuildStatusEventArgs(string? message, string? helpKeyword, string? senderName, DateTime eventTimestamp);
C#
[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);

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

MSBuild 17 dan versi lain
Produk Versi
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17

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

Source:
BuildStatusEventArgs.cs

This constructor allows timestamp to be set

C#
protected BuildStatusEventArgs(string message, string helpKeyword, string senderName, DateTime eventTimestamp, params object[] messageArgs);
C#
protected BuildStatusEventArgs(string? message, string? helpKeyword, string? senderName, DateTime eventTimestamp, params object[]? messageArgs);
C#
[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);

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

MSBuild 17 dan versi lain
Produk Versi
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17