Show / Hide Table of Contents

Constructor UtilityTraceParameters

UtilityTraceParameters(UtilityTraceType, IEnumerable<UtilityElement>)

Initializes a new instance of the UtilityTraceParameters class for the specified trace type and with the supplied starting locations.

Declaration
public UtilityTraceParameters(UtilityTraceType traceType, IEnumerable<UtilityElement> startingLocations)
Parameters
Type Name Description
UtilityTraceType traceType

The type of trace to perform.

IEnumerable<UtilityElement> startingLocations

The starting locations to begin the trace at.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.6 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.6 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.6 - 100.15
Xamarin.iOS100.6 - 100.15
UWP100.6 - 100.14
Relevant samples
Configure subnetwork trace: Get a server-defined trace configuration for a given tier and modify its traversability scope, add new condition barriers and control what is included in the subnetwork trace result.
Perform valve isolation trace: Run a filtered trace to locate operable features that will isolate an area from the flow of network resources.
Trace utility network: Discover connected features in a utility network using connected, subnetwork, upstream, and downstream traces.

UtilityTraceParameters(UtilityNamedTraceConfiguration, IEnumerable<UtilityElement>)

Initializes a new instance of the UtilityTraceParameters class from a pre-defined trace options with the supplied starting locations.

Declaration
public UtilityTraceParameters(UtilityNamedTraceConfiguration namedTraceConfiguration, IEnumerable<UtilityElement> startingLocations)
Parameters
Type Name Description
UtilityNamedTraceConfiguration namedTraceConfiguration

The UtilityNamedTraceConfiguration from which the TraceConfiguration object is generated.

IEnumerable<UtilityElement> startingLocations

The collection of starting locations.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.11 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.11 - 100.15
.NET 5100.11 - 100.12
.NET Core 3.1100.11 - 100.12
Xamarin.Android100.11 - 100.15
Xamarin.iOS100.11 - 100.15
UWP100.11 - 100.14
In This Article
Back to top Copyright © 2022 Esri.