public TraceManager GetTraceManager()
Public Function GetTraceManager() As TraceManager
Return Value
A ArcGIS.Core.Data.UtilityNetwork.Trace.TraceManager object that can be used to perform traces.
public TraceManager GetTraceManager()
Public Function GetTraceManager() As TraceManager
Exception | Description |
---|---|
ArcGIS.Core.Data.Exceptions.GeodatabaseException | A geodatabase-related exception has occurred. |
ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run |
using (TraceManager traceManager = utilityNetwork.GetTraceManager())
{
DownstreamTracer downstreamTracer = traceManager.GetTracer<DownstreamTracer>();
}
Target Platforms: Windows 11, Windows 10