ArcObjects Library Reference (EditorExt)  

ITraceTask.OnTraceExecution Method

Executes the trace task.

[Visual Basic .NET]
Public Sub OnTraceExecution ( _
public void OnTraceExecution (

Product Availability

Available with ArcGIS Desktop.


The OnTraceExecution method is called by the Utility Network Analysis extension when the Solve button is clicked on the toolbar.
For the trace tasks that come with ArcGIS, the OnTraceExecution method also triggers a refresh of the map to draw the results to the screen.  These trace tasks can be solved outside of a map environment using the TraceFlowSolver object.  The New Upstream Trace Task developer sample demonstrates how to copy the settings on the Utility Network Analysis extension to the TraceFlowSolver object.

See Also

ITraceTask Interface