EnvironmentVariableReadEventArgs Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
EnvironmentVariableReadEventArgs() |
Initializes an instance of the EnvironmentVariableReadEventArgs class. |
EnvironmentVariableReadEventArgs(String, String, String, Int32, Int32) |
Initializes an instance of the EnvironmentVariableReadEventArgs class. |
EnvironmentVariableReadEventArgs(String, String, String, String, MessageImportance) |
Initializes an instance of the EnvironmentVariableReadEventArgs class. |
EnvironmentVariableReadEventArgs()
Initializes an instance of the EnvironmentVariableReadEventArgs class.
public:
EnvironmentVariableReadEventArgs();
public EnvironmentVariableReadEventArgs();
Public Sub New ()
Applies to
EnvironmentVariableReadEventArgs(String, String, String, Int32, Int32)
Initializes an instance of the EnvironmentVariableReadEventArgs class.
public:
EnvironmentVariableReadEventArgs(System::String ^ environmentVarName, System::String ^ environmentVarValue, System::String ^ file, int line, int column);
public EnvironmentVariableReadEventArgs(string environmentVarName, string environmentVarValue, string file, int line, int column);
new Microsoft.Build.Framework.EnvironmentVariableReadEventArgs : string * string * string * int * int -> Microsoft.Build.Framework.EnvironmentVariableReadEventArgs
Public Sub New (environmentVarName As String, environmentVarValue As String, file As String, line As Integer, column As Integer)
Parameters
- environmentVarName
- String
The name of the environment variable that was read.
- environmentVarValue
- String
The value of the environment variable that was read.
- file
- String
file associated with the event
- line
- Int32
line number (0 if not applicable)
- column
- Int32
column number (0 if not applicable)
Applies to
EnvironmentVariableReadEventArgs(String, String, String, String, MessageImportance)
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.