ArcGIS Pro 2.9 API Reference Guide
MarkAsExceptionInEditOperation Method

ArcGIS.Core.Data.Extensions Namespace > ArcGISCoreDataExtensions Class : MarkAsExceptionInEditOperation Method
The ArcGIS.Core.Data.Topology instance to mark the errors as exceptions.
The topology error to be marked as an exception.
Marks the topology error specified by topologyError as an exception. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public static void MarkAsExceptionInEditOperation( 
   Topology topology,
   TopologyError topologyError
)
Public Shared Sub MarkAsExceptionInEditOperation( _
   ByVal topology As Topology, _
   ByVal topologyError As TopologyError _
) 

Parameters

topology
The ArcGIS.Core.Data.Topology instance to mark the errors as exceptions.
topologyError
The topology error to be marked as an exception.
Exceptions
ExceptionDescription
topologyError is null.
Cannot find a layer in the active map that connects to the same geodatabase as that of the Topology.
This method must be called on the Main CIM Thread. Use QueuedTask.Run.
A geodatabase-related exception has occurred.
Remarks
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

ArcGISCoreDataExtensions Class
ArcGISCoreDataExtensions Members