ArcGIS Pro 2.7 API Reference Guide
UpdateErrorsInEditOperation Method

ArcGIS.Core.Data.Extensions Namespace > ArcGISCoreDataExtensions Class : UpdateErrorsInEditOperation Method
The ArcGIS.Core.Data.AttributeRuleManager instance to manage attribute rules on behalf of a geodatabase.
A IReadOnlyList of one or more ArcGIS.Core.Data.AttributeRuleError objects.
Updates the validation error system tables specified by validationErrors. This method must be called on the MCT. Use QueuedTask.Run.
Syntax

Parameters

attributeRuleManager
The ArcGIS.Core.Data.AttributeRuleManager instance to manage attribute rules on behalf of a geodatabase.
validationErrors
A IReadOnlyList of one or more ArcGIS.Core.Data.AttributeRuleError objects.
Exceptions
ExceptionDescription

Cannot find a layer in the active map that connects to the same geodatabase as that of the Attribute Rule Manager.

-or-

A validation service is not supported or enabled for this geodatabase.

validationErrors is null or empty.
This method must be called on the Main CIM Thread. Use QueuedTask.Run.
A geodatabase-related exception has occurred.
Remarks
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

ArcGISCoreDataExtensions Class
ArcGISCoreDataExtensions Members