MetricThresholdValueComparison Enumeration

Applies To: Windows 8.1

Specifies how AXE compares metric values.

Namespace: Microsoft.Assessments.Runtime
Assembly: Microsoft.Assessments.Core (in Microsoft.Assessments.Core.dll)

'Usage
Dim instance As MetricThresholdValueComparison

public enum MetricThresholdValueComparison
public enum MetricThresholdValueComparison
public enum MetricThresholdValueComparison

Member nameDescription
AbsoluteIndicates that the MetricThreshold target is not used and the MetricValue is compared directly with the MetricThresholdValue. This is only valid for floating point and integral numeric types.
ContainsStringIsFailIndicates that the MetricValueis considered to fail if the string contains the MetricThresholdValue. String comparison is ordinal, insensitive to case, and ignores leading and trailing spaces in both strings.
ContainsStringIsPassIndicates that the MetricValueis considered to pass if the string contains the MetricThresholdValue. String comparison is ordinal, insensitive to case, and ignores leading and trailing spaces in both strings.
FalseIsPassIndicates that the MetricValueis considered to pass if its Boolean value is false. This is valid for Boolean, numeric and string types. For integral numeric types, zero is considered false, and non-zero is true. For floating point types, zero and NaN are considered false, and all other values true. For string types, false is assumed if the string is null, empty (zero length) or consists of all white space characters.
IsStringIsFailIndicates that the MetricValue is considered to fail if the MetricValue is a string or is not equivalent to the MetricThresholdValue. String comparison is ordinal, insensitive to case, and ignores leading and trailing spaces in both strings. This is only valid for string types.
IsStringIsPassIndicates that the MetricValue is considered to pass if the MetricValue is a string or is not equivalent to the MetricThresholdValue. String comparison is ordinal, insensitive to case, and ignores leading and trailing spaces in both strings. This is only valid for string types.
NoneNo comparison method specified.
OffsetIndicates that the MetricThresholdValueis treated as an offset from the MetricThreshold target value. This is only valid for floating point and integral numeric types.
PercentIndicates that the MetricThresholdValueis treated as a percent from the MetricThreshold target value. This is only valid for floating point and integral numeric types.
RegularExpressionMatchIsFailIndicates that the MetricValueis considered to fail if the MetricValue is a string matched by the regular expression in the MetricThresholdValue. This is only valid for string types.
RegularExpressionMatchIsPassIndicates that the MetricValueis considered to pass if the MetricValue is a string matched by the regular expression in the MetricThresholdValue. This is only valid for string types.
TrueIsPassIndicates that the MetricValueis considered to pass if its Boolean value is true. This is valid for Boolean, numeric and string types. For integral numeric types, zero is considered false, and non-zero is true. For floating point types, zero and NaN are considered false, and all other values true. For string types, false is assumed if the string is null, empty (zero length) or consists of all white space characters.

Development Platforms

Windows 8.1

 

Show: