Constructor UtilityCategoryComparison
UtilityCategoryComparison(UtilityCategory, UtilityCategoryComparisonOperator)
Initializes a new instance of the UtilityCategoryComparison class with a condition evaluating whether a UtilityCategory exists on a feature.
Declaration
public UtilityCategoryComparison(UtilityCategory category, UtilityCategoryComparisonOperator categoryOperator)
Parameters
Type | Name | Description |
---|---|---|
UtilityCategory | category | Category to evaluate as part of the condition. |
UtilityCategoryComparisonOperator | categoryOperator | Type of comparison to do between the |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.7 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.7 - 200.5 |
Xamarin.Android | 100.7 - 100.15 |
Xamarin.iOS | 100.7 - 100.15 |
UWP | 100.7 - 200.5 |
Relevant samples
Perform valve isolation trace: Run a filtered trace to locate operable features that will isolate an area from the flow of network resources.
UtilityCategoryComparison(String, UtilityCategoryComparisonOperator)
Initializes a new instance of the UtilityCategoryComparison class with a condition evaluating whether a UtilityCategory with this name exists on a feature.
Declaration
public UtilityCategoryComparison(string categoryName, UtilityCategoryComparisonOperator comparisonOperator)
Parameters
Type | Name | Description |
---|---|---|
System.String | categoryName | The name of the category to evaluate as part of the condition. |
UtilityCategoryComparisonOperator | comparisonOperator | The type of comparison to do between the category name and each feature in the trace. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.3 - 200.5 |
.NET | 200.3 - 200.5 |
.NET Windows | 200.3 - 200.5 |
.NET Android | 200.3 - 200.5 |
.NET iOS | 200.3 - 200.5 |
.NET Framework | 200.3 - 200.5 |
UWP | 200.3 - 200.5 |