共用方式為


EnvironmentVariableReadEventArgs Constructors

Definition

Overloads

EnvironmentVariableReadEventArgs()

Initializes an instance of the EnvironmentVariableReadEventArgs class.

EnvironmentVariableReadEventArgs(String, String, String, String, MessageImportance)

Initializes an instance of the EnvironmentVariableReadEventArgs class.

EnvironmentVariableReadEventArgs()

Source:
EnvironmentVariableReadEventArgs.cs

Initializes an instance of the EnvironmentVariableReadEventArgs class.

public:
 EnvironmentVariableReadEventArgs();
public EnvironmentVariableReadEventArgs ();
Public Sub New ()

Applies to

EnvironmentVariableReadEventArgs(String, String, String, String, MessageImportance)

Source:
EnvironmentVariableReadEventArgs.cs

Initializes an instance of the EnvironmentVariableReadEventArgs class.

public EnvironmentVariableReadEventArgs (string environmentVariableName, string message, string helpKeyword = default, string senderName = default, Microsoft.Build.Framework.MessageImportance importance = Microsoft.Build.Framework.MessageImportance.Low);
new Microsoft.Build.Framework.EnvironmentVariableReadEventArgs : string * string * string * string * Microsoft.Build.Framework.MessageImportance -> Microsoft.Build.Framework.EnvironmentVariableReadEventArgs
Public Sub New (environmentVariableName As String, message As String, Optional helpKeyword As String = Nothing, Optional senderName As String = Nothing, Optional importance As MessageImportance = Microsoft.Build.Framework.MessageImportance.Low)

Parameters

environmentVariableName
String

The name of the environment variable that was read.

message
String

The value of the environment variable that was read.

helpKeyword
String

Help keyword.

senderName
String

The name of the sender of the event.

importance
MessageImportance

The importance of the message.

Applies to