ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.Data Namespace / CoreDataExtensions Class / MarkAsExceptionInEditOperation Method
The ArcGIS.Core.Data.Topology instance to mark the errors as exceptions.
The topology error to be marked as an exception.

In This Topic
    MarkAsExceptionInEditOperation Method
    In This Topic
    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 or property must be called within the lambda passed to QueuedTask.Run.
    A geodatabase-related exception has occurred.
    Remarks
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also