ArcGIS Pro 2.9 API Reference Guide
Trace Method (Tracer)

ArcGIS.Core.Data.UtilityNetwork.Trace Namespace > Tracer Class : Trace Method
The input arguments to the trace.
Executes a trace.
Syntax
Public MustOverride Function Trace( _
   ByVal traceArgument As TraceArgument _
) As IReadOnlyList(Of Result)

Parameters

traceArgument
The input arguments to the trace.

Return Value

A IReadOnlyList of concrete Result whose type corresponds to ResultType set in TraceArgument.ResultTypes.
Exceptions
ExceptionDescription
traceArgument is null.
This operation is not supported in client-server mode.
If the ArcGIS.Core.Data.UtilityNetwork.Terminal in any ArcGIS.Core.Data.UtilityNetwork.Element in TraceArgument.StartingLocations, TraceArgument.Barriers or TraceArgument.FilterBarriers is null and the associated ArcGIS.Core.Data.UtilityNetwork.TerminalConfiguration has multiple terminals.
A geodatabase-related exception has occurred.
Remarks
Derived implementations may impose stronger preconditions. For example, a concrete Tracer implementation may throw a System.ArgumentException if traceArgument is created using the TraceArgument.TraceArgument Constructor(Subnetwork) constructor when ArcGIS.Core.Data.UtilityNetwork.Subnetwork does not apply to the particular tracer.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

Tracer Class
Tracer Members