ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Core.Data.UtilityNetwork.Trace Namespace / TraceManager Class / GetTracer Method / GetTracer<T>() Method
The type of tracer to create.
Version

GetTracer<T>() Method
Gets a specific Tracer instance of type T. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public T GetTracer<T>()
where T: Tracer

Type Parameters

T
The type of tracer to create.

Return Value

A specific Tracer instance corresponding to type T.
Exceptions
ExceptionDescription
An exception has occurred while creating the tracer.
This method or property must be called within the lambda passed to QueuedTask.Run
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.0 or higher.
See Also