Constructor UtilityTraceFunctionBarrier
UtilityTraceFunctionBarrier(UtilityTraceFunction, UtilityAttributeComparisonOperator, Object)
Initializes a new instance of the UtilityTraceFunctionBarrier class that stops
tracing when a UtilityTraceFunction compared to a value evaluates to true.
Declaration
public UtilityTraceFunctionBarrier(UtilityTraceFunction traceFunction, UtilityAttributeComparisonOperator comparisonOperator, object value)
Parameters
| Type | Name | Description |
|---|---|---|
| UtilityTraceFunction | traceFunction | The calculation to perform. |
| UtilityAttributeComparisonOperator | comparisonOperator | The operator used for the comparison. |
| Object | value | The value to compare against. The type of this numeric value is dependent on the UtilityNetworkAttributeDataType of the UtilityNetworkAttribute. |
Remarks
The data type of value is dependent on the UtilityNetworkAttributeDataType
of the NetworkAttribute of its traceFunction.
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.7 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.7 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.7 - 100.15 |
| Xamarin.iOS | 100.7 - 100.15 |
| UWP | 100.7 - 100.15 |