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


ITraceTask.OnTraceExecution Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (EditorExt)  

ITraceTask.OnTraceExecution Method

Executes the trace task.

[Visual Basic .NET]
Public Sub OnTraceExecution ( _
)
[C#]
public void OnTraceExecution (
);

Product Availability

Available with ArcGIS Desktop.

Remarks

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