This document is archived and information here might be outdated.  Recommended version.


esriLocatingError Constants (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Constants > E > esriLocatingError Constants (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

esriLocatingError Constants

Error codes for locating operations.

Constant Value Description
LOCATING_OK 0 Locating was successful.
LOCATING_E_INVALIDRID 1 The route location's route ID is invalid (NULL, empty or invalid value).
LOCATING_E_INVALIDMEASURE 2 At least one of the route location's measure values is invalid.
LOCATING_E_CANT_FIND_ROUTE 3 The route does not exist.
LOCATING_E_ROUTE_SHAPE_EMPTY 4 The route does not have a shape or the shape is empty.
LOCATING_E_CANT_FIND_LOCATION 5 Could not find route location's shape (the route has no M's or the route location's measures don't exist on the route).
LOCATING_E_CANT_FIND_EXTENT 6 Could not find route location's shape, the from-measure and the to-measure are outside of the route measures.
LOCATING_E_FROM_PARTIAL_MATCH 7 Could not find the entire route location's shape, the from-measure was outside of the route measure range.
LOCATING_E_TO_PARTIAL_MATCH 8 Could not find the entire route location's shape, the to-measure was outside of the route measure range.
LOCATING_E_ROUTE_MS_NULL 9 The route does not have Ms or Ms are null.
LOCATING_E_ROUTE_NOT_MAWARE 10 The route is not a polyline M aware.
LOCATING_E_FROM_TO_PARTIAL_MATCH 11 Could not find the entire route location's shape, the from-measure and the to-measure were outside of the route measure range.
LOCATING_E_MULTIPLE_LOCATION 12 More than one point location were found. Measures are probably not unique along the routes.
LOCATING_E_NULL_EXTENT 13 The from-measure is equal to the to-measure.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

.NET Related Topics

Location