laptop and a wrench

Error

The Tracer.Trace() method unexpectedly returns zero results for named trace configurations in a utility network in the ArcGIS Pro SDK for .NET CoreHost application.

ArcGIS Pro SDK for .NET
Número de ID del error BUG-000164643
EnviadoJanuary 26, 2024
Última modificaciónJune 5, 2024
Relacionado conArcGIS Pro SDK for .NET
Versión encontrada3.2
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
EstadoAs Designed

Información adicional

The TraceArgument.ResultTypes is set to 0. The named trace configuration to JSON is exported and confirmed this: "resultTypes":[]. When creating the named trace configuration, the Result Types popup is set to include one or more result types (such as 'Selection'). The Pro UX automatically defaults to include 'Selection', but the developer's APIs (Pro SDK, JavaScript, Maps SDK for Native Apps) read the value literally. An issue is written up either Prevent the 'Add Trace Configuration' geoprocessing tool from running if Result Types is left blank, or Automatically append the 'Selection' result type if nothing is specified.

Solución alternativa

Recreate named trace configurations to have a valid Result Type.

Pasos para reproducir

ID del error: BUG-000164643

Software:

  • ArcGIS Pro SDK for .NET

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga