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

INAServerSolverResults2.SolveErrorCode Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INAServerSolverResults2 Interface > INAServerSolverResults2.SolveErrorCode Property
ArcGIS Developer Help

INAServerSolverResults2.SolveErrorCode Property

Error code returned by solve operation if it failed.

[Visual Basic .NET]
Public ReadOnly Property SolveErrorCode As Integer
public int SolveErrorCode {get;}
HRESULT get_SolveErrorCode(
  System.Int32* ErrorCode
ErrorCode [out, retval]

ErrorCode is a parameter of type long*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.


SolveErrorCode contains returned error code, if NAServerSolverParams.ReturnPartialResultsOnError was True and Solve failed.

See Also

INAServerSolverResults2 Interface