Partager via


EvaluationLocation Constructors

Definition

Overloads

EvaluationLocation(EvaluationPass, String, String, Nullable<Int32>, String, String, EvaluationLocationKind)

Constructs a generic evaluation location with no parent.

EvaluationLocation(Nullable<Int64>, EvaluationPass, String, String, Nullable<Int32>, String, String, EvaluationLocationKind)

Constructs a generic evaluation location based on a (possibly null) parent Id.

EvaluationLocation(Int64, Nullable<Int64>, EvaluationPass, String, String, Nullable<Int32>, String, String, EvaluationLocationKind)

Constructs a generic evaluation location

EvaluationLocation(EvaluationPass, String, String, Nullable<Int32>, String, String, EvaluationLocationKind)

Source:
EvaluationLocation.cs

Constructs a generic evaluation location with no parent.

public:
 EvaluationLocation(Microsoft::Build::Framework::Profiler::EvaluationPass evaluationPass, System::String ^ evaluationPassDescription, System::String ^ file, Nullable<int> line, System::String ^ elementName, System::String ^ elementDescription, Microsoft::Build::Framework::Profiler::EvaluationLocationKind kind);
public EvaluationLocation (Microsoft.Build.Framework.Profiler.EvaluationPass evaluationPass, string evaluationPassDescription, string file, int? line, string elementName, string elementDescription, Microsoft.Build.Framework.Profiler.EvaluationLocationKind kind);
new Microsoft.Build.Framework.Profiler.EvaluationLocation : Microsoft.Build.Framework.Profiler.EvaluationPass * string * string * Nullable<int> * string * string * Microsoft.Build.Framework.Profiler.EvaluationLocationKind -> Microsoft.Build.Framework.Profiler.EvaluationLocation
Public Sub New (evaluationPass As EvaluationPass, evaluationPassDescription As String, file As String, line As Nullable(Of Integer), elementName As String, elementDescription As String, kind As EvaluationLocationKind)

Parameters

evaluationPass
EvaluationPass
evaluationPassDescription
String
file
String
line
Nullable<Int32>
elementName
String
elementDescription
String

Remarks

A unique Id gets assigned automatically Used by serialization/deserialization purposes

Applies to

EvaluationLocation(Nullable<Int64>, EvaluationPass, String, String, Nullable<Int32>, String, String, EvaluationLocationKind)

Source:
EvaluationLocation.cs

Constructs a generic evaluation location based on a (possibly null) parent Id.

public:
 EvaluationLocation(Nullable<long> parentId, Microsoft::Build::Framework::Profiler::EvaluationPass evaluationPass, System::String ^ evaluationPassDescription, System::String ^ file, Nullable<int> line, System::String ^ elementName, System::String ^ elementDescription, Microsoft::Build::Framework::Profiler::EvaluationLocationKind kind);
public EvaluationLocation (long? parentId, Microsoft.Build.Framework.Profiler.EvaluationPass evaluationPass, string evaluationPassDescription, string file, int? line, string elementName, string elementDescription, Microsoft.Build.Framework.Profiler.EvaluationLocationKind kind);
new Microsoft.Build.Framework.Profiler.EvaluationLocation : Nullable<int64> * Microsoft.Build.Framework.Profiler.EvaluationPass * string * string * Nullable<int> * string * string * Microsoft.Build.Framework.Profiler.EvaluationLocationKind -> Microsoft.Build.Framework.Profiler.EvaluationLocation
Public Sub New (parentId As Nullable(Of Long), evaluationPass As EvaluationPass, evaluationPassDescription As String, file As String, line As Nullable(Of Integer), elementName As String, elementDescription As String, kind As EvaluationLocationKind)

Parameters

parentId
Nullable<Int64>
evaluationPass
EvaluationPass
evaluationPassDescription
String
file
String
line
Nullable<Int32>
elementName
String
elementDescription
String

Remarks

A unique Id gets assigned automatically Used by serialization/deserialization purposes

Applies to

EvaluationLocation(Int64, Nullable<Int64>, EvaluationPass, String, String, Nullable<Int32>, String, String, EvaluationLocationKind)

Source:
EvaluationLocation.cs

Constructs a generic evaluation location

public:
 EvaluationLocation(long id, Nullable<long> parentId, Microsoft::Build::Framework::Profiler::EvaluationPass evaluationPass, System::String ^ evaluationPassDescription, System::String ^ file, Nullable<int> line, System::String ^ elementName, System::String ^ elementDescription, Microsoft::Build::Framework::Profiler::EvaluationLocationKind kind);
public EvaluationLocation (long id, long? parentId, Microsoft.Build.Framework.Profiler.EvaluationPass evaluationPass, string evaluationPassDescription, string file, int? line, string elementName, string elementDescription, Microsoft.Build.Framework.Profiler.EvaluationLocationKind kind);
new Microsoft.Build.Framework.Profiler.EvaluationLocation : int64 * Nullable<int64> * Microsoft.Build.Framework.Profiler.EvaluationPass * string * string * Nullable<int> * string * string * Microsoft.Build.Framework.Profiler.EvaluationLocationKind -> Microsoft.Build.Framework.Profiler.EvaluationLocation
Public Sub New (id As Long, parentId As Nullable(Of Long), evaluationPass As EvaluationPass, evaluationPassDescription As String, file As String, line As Nullable(Of Integer), elementName As String, elementDescription As String, kind As EvaluationLocationKind)

Parameters

id
Int64
parentId
Nullable<Int64>
evaluationPass
EvaluationPass
evaluationPassDescription
String
file
String
line
Nullable<Int32>
elementName
String
elementDescription
String

Remarks

Used by serialization/deserialization purposes

Applies to