Condividi tramite


BuildStartedEventArgs Constructors

Definition

Initializes a new instance of the BuildStartedEventArgs class.

Overloads

BuildStartedEventArgs()

Default constructor

BuildStartedEventArgs(String, String)

Constructor to initialize all parameters. Sender field cannot be set here and is assumed to be "MSBuild"

BuildStartedEventArgs(String, String, IDictionary<String,String>)

Constructor to initialize all parameters. Sender field cannot be set here and is assumed to be "MSBuild"

BuildStartedEventArgs(String, String, DateTime)

Constructor to allow timestamp to be set

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

Constructor to allow timestamp to be set

BuildStartedEventArgs()

Source:
BuildStartedEventArgs.cs

Default constructor

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

Applies to

BuildStartedEventArgs(String, String)

Source:
BuildStartedEventArgs.cs

Constructor to initialize all parameters. Sender field cannot be set here and is assumed to be "MSBuild"

public:
 BuildStartedEventArgs(System::String ^ message, System::String ^ helpKeyword);
public BuildStartedEventArgs (string message, string helpKeyword);
new Microsoft.Build.Framework.BuildStartedEventArgs : string * string -> Microsoft.Build.Framework.BuildStartedEventArgs
Public Sub New (message As String, helpKeyword As String)

Parameters

message
String

text message

helpKeyword
String

help keyword

Applies to

BuildStartedEventArgs(String, String, IDictionary<String,String>)

Source:
BuildStartedEventArgs.cs

Constructor to initialize all parameters. Sender field cannot be set here and is assumed to be "MSBuild"

public:
 BuildStartedEventArgs(System::String ^ message, System::String ^ helpKeyword, System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ environmentOfBuild);
public BuildStartedEventArgs (string message, string helpKeyword, System.Collections.Generic.IDictionary<string,string> environmentOfBuild);
public BuildStartedEventArgs (string? message, string? helpKeyword, System.Collections.Generic.IDictionary<string,string>? environmentOfBuild);
new Microsoft.Build.Framework.BuildStartedEventArgs : string * string * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Build.Framework.BuildStartedEventArgs
Public Sub New (message As String, helpKeyword As String, environmentOfBuild As IDictionary(Of String, String))

Parameters

message
String

text message

helpKeyword
String

help keyword

environmentOfBuild
IDictionary<String,String>

A dictionary which lists the environment of the build when the build is started.

Remarks

Sender field cannot be set here and is assumed to be "MSBuild".

Applies to

BuildStartedEventArgs(String, String, DateTime)

Source:
BuildStartedEventArgs.cs

Constructor to allow timestamp to be set

public:
 BuildStartedEventArgs(System::String ^ message, System::String ^ helpKeyword, DateTime eventTimestamp);
public BuildStartedEventArgs (string message, string helpKeyword, DateTime eventTimestamp);
public BuildStartedEventArgs (string? message, string? helpKeyword, DateTime eventTimestamp);
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public BuildStartedEventArgs (string message, string helpKeyword, DateTime eventTimestamp);
new Microsoft.Build.Framework.BuildStartedEventArgs : string * string * DateTime -> Microsoft.Build.Framework.BuildStartedEventArgs
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
new Microsoft.Build.Framework.BuildStartedEventArgs : string * string * DateTime -> Microsoft.Build.Framework.BuildStartedEventArgs
Public Sub New (message As String, helpKeyword As String, eventTimestamp As DateTime)

Parameters

message
String

text message

helpKeyword
String

help keyword

eventTimestamp
DateTime

Timestamp when the event was created

Attributes

Applies to

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

Source:
BuildStartedEventArgs.cs

Constructor to allow timestamp to be set

public:
 BuildStartedEventArgs(System::String ^ message, System::String ^ helpKeyword, DateTime eventTimestamp, ... cli::array <System::Object ^> ^ messageArgs);
public BuildStartedEventArgs (string message, string helpKeyword, DateTime eventTimestamp, params object[] messageArgs);
public BuildStartedEventArgs (string? message, string? helpKeyword, DateTime eventTimestamp, params object[]? messageArgs);
new Microsoft.Build.Framework.BuildStartedEventArgs : string * string * DateTime * obj[] -> Microsoft.Build.Framework.BuildStartedEventArgs
Public Sub New (message As String, helpKeyword As String, eventTimestamp As DateTime, ParamArray messageArgs As Object())

Parameters

message
String

text message

helpKeyword
String

help keyword

eventTimestamp
DateTime

Timestamp when the event was created

messageArgs
Object[]

message args

Applies to