ArcGIS Pro 2.9 API Reference Guide
GetTracer<T>() Method

ArcGIS.Core.Data.UtilityNetwork.Trace Namespace > TraceManager Class > GetTracer Method : GetTracer<T>() Method
The type of tracer to create.
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
Public Overloads Function GetTracer(Of T As Tracer)() As T

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, Windows 8.1

See Also

Reference

TraceManager Class
TraceManager Members
Overload List