Method GetNamedTraceConfigurationsFromUtilityNetworkAsync
GetNamedTraceConfigurationsFromUtilityNetworkAsync(UtilityNetwork, CancellationToken)
Asynchronously retrieves a list of all UtilityNamedTraceConfiguration objects referenced by this map for the specified utility network.
Declaration
public Task<IEnumerable<UtilityNamedTraceConfiguration>> GetNamedTraceConfigurationsFromUtilityNetworkAsync(UtilityNetwork utilityNetwork, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
UtilityNetwork | utilityNetwork | The UtilityNetwork for which named trace configurations are retrieved. |
System.Threading.CancellationToken | cancellationToken | A System.Threading.CancellationToken with which to cancel the operation if required. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<UtilityNamedTraceConfiguration>> | A task that represents the asynchronous retrieval of the list of all the UtilityNamedTraceConfiguration objects. |
Remarks
An empty array will be returned if the UtilityNetwork does not belong to the Map or if the Map does not contain any UtilityNamedTraceConfiguration objects.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.12 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.2 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.12 - 200.5 |
Xamarin.Android | 100.12 - 100.14 |
Xamarin.iOS | 100.12 - 100.15 |
UWP | 100.12 - 200.5 |
GetNamedTraceConfigurationsFromUtilityNetworkAsync(UtilityNetwork)
Asynchronously retrieves a list of all UtilityNamedTraceConfiguration objects referenced by the UtilityNetwork's map.
Declaration
public Task<IEnumerable<UtilityNamedTraceConfiguration>> GetNamedTraceConfigurationsFromUtilityNetworkAsync(UtilityNetwork utilityNetwork)
Parameters
Type | Name | Description |
---|---|---|
UtilityNetwork | utilityNetwork | The UtilityNetwork for which named trace configurations are retrieved. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<UtilityNamedTraceConfiguration>> | A task that represents the asynchronous retrieval of the list of all the UtilityNamedTraceConfiguration objects. |
Remarks
An empty array will be returned if the UtilityNetwork does not belong to the map or if the map does not contain any UtilityNamedTraceConfiguration objects.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.11 - 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.11 - 200.5 |
Xamarin.Android | 100.11 - 100.15 |
Xamarin.iOS | 100.11 - 100.15 |
UWP | 100.11 - 200.5 |