This document is archived and information here might be outdated.  Recommended version.


FindPathUpstreamTask Class (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > EditorExt > ESRI.ArcGIS.EditorExt > Classes > F > FindPathUpstreamTask Class
ArcGIS Developer Help

FindPathUpstreamTaskClass Class

Trace task used by the Utility Network Analysis extension for finding a path from the specified flag(s) to the nearest source in the current network.

Product Availability

Available with ArcGIS Desktop.

Description

The FindPathUpstreamTask object finds a path on the current network from each flag on the current network upstream to the nearest source.

Supported Platforms

Windows

Interfaces

Interfaces Description
ITracePathTaskResults Provides access to members that return cost information about the path or tree found by certain trace tasks.
ITraceTask Provides access to members that execute a trace task.
ITraceTaskResults Provides access to members that return the network elements returned by the trace task.

Remarks

The FindPathUpstreamTask object is a directional trace task. By default, network elements with indeterminate or uninitialized flow direction will not be traced.

If you do not specify weights for your trace task, the FindPathUpstreamTask will return the path with the fewest number of network elements.

If you do specify weights for your trace task, the FindPathUpstreamTask will treat network elements with negative weight values as having infinite cost.