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

In This Topic
    GetTracer<T>() Method
    In This Topic
    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

    ArcGIS Pro version: 3 or higher.
    See Also