A Job to run the validate network topology operation on a utility network. More...
Header: | #include <UtilityNetworkValidationJob.h> |
Since: | Esri::ArcGISRuntime 200.3 |
Inherits: | Esri::ArcGISRuntime::Job |
Public Functions
virtual | ~UtilityNetworkValidationJob() override |
Esri::ArcGISRuntime::UtilityValidationResult * | result() const |
Detailed Description
{UtilityNetwork::validateNetworkTopology(const Esri::ArcGISRuntime::Envelope&)}
Relevant samples:
- Validate utility network topology: Demonstrates the workflow of getting the network state and validating the topology of a utility network.
See also Esri::ArcGISRuntime::UtilityNetwork::validateNetworkTopology(const Esri::ArcGISRuntime::Envelope&).
Member Function Documentation
[override virtual]
UtilityNetworkValidationJob::~UtilityNetworkValidationJob ()
Destructor.
Esri::ArcGISRuntime::UtilityValidationResult *UtilityNetworkValidationJob::result() const
Returns the result of a validate network topology job that has succeeded, nullptr
otherwise.
If the job is in progress then a nullptr
result is returned until the job successfully completes. If the job fails to complete successfully, Job::error will be set to one of the following error codes:
- ErrorType::CommonInvalidCall - indicates one of the following:
- validate network topology is not supported, check UtilityNetworkCapabilities::isSupportsValidateNetworkTopology.
- network topology is not enabled.
- pending edits exist.
- another session is running validate in the default version.
- a geodatabase transaction is already started.
- ErrorType::CommonTimeout is set if the server timed out due to the size of the network.
- ErrorType::GeodatabaseDatabaseClosed is set if a validate operation is called on a closed geodatabase.
ErrorType::CommonTimeout - Set if the server timed out due to the size of the network.
ErrorType::GeodatabaseDatabaseClosed - Set if a validate operation is called on a closed geodatabase.