Constructor UtilityTraceFunction
UtilityTraceFunction(UtilityTraceFunctionType, UtilityNetworkAttribute)
Initializes a new instance of the UtilityTraceFunction class to compute a value from a network attribute.
Declaration
public UtilityTraceFunction(UtilityTraceFunctionType functionType, UtilityNetworkAttribute networkAttribute)
Parameters
| Type | Name | Description | 
|---|---|---|
| UtilityTraceFunctionType | functionType | The calculation to perform.  | 
    
| UtilityNetworkAttribute | networkAttribute | The UtilityNetworkAttribute to use with the calculation.  | 
    
Applies to
Platforms and versions
| Target | Versions | 
|---|---|
| .NET Standard 2.0 | 100.7 - 200.8 | 
| .NET | 100.13 - 200.8 | 
| .NET Windows | 100.13 - 200.8 | 
| .NET Android | 200.0 - 200.8 | 
| .NET iOS | 200.0 - 200.8 | 
| .NET Framework | 100.7 - 200.8 | 
| Xamarin.Android | 100.7 - 100.15 | 
| Xamarin.iOS | 100.7 - 100.15 | 
| UWP | 100.7 - 200.8 | 
UtilityTraceFunction(UtilityTraceFunctionType, UtilityNetworkAttribute, UtilityTraceCondition)
Initializes a new instance of the UtilityTraceFunction class to compute a value from a network attribute.
Declaration
public UtilityTraceFunction(UtilityTraceFunctionType functionType, UtilityNetworkAttribute networkAttribute, UtilityTraceCondition condition)
Parameters
| Type | Name | Description | 
|---|---|---|
| UtilityTraceFunctionType | functionType | The calculation to perform.  | 
    
| UtilityNetworkAttribute | networkAttribute | The UtilityNetworkAttribute to use with the calculation.  | 
    
| UtilityTraceCondition | condition | A UtilityTraceCondition to use to restrict the functional calculation to features that satisfy the condition.  | 
    
Applies to
Platforms and versions
| Target | Versions | 
|---|---|
| .NET Standard 2.0 | 100.10 - 200.8 | 
| .NET | 100.13 - 200.8 | 
| .NET Windows | 100.13 - 200.8 | 
| .NET Android | 200.0 - 200.8 | 
| .NET iOS | 200.0 - 200.8 | 
| .NET Framework | 100.10 - 200.8 | 
| Xamarin.Android | 100.10 - 100.15 | 
| Xamarin.iOS | 100.10 - 100.15 | 
| UWP | 100.10 - 200.8 |