This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITopologyRuleContainer Interface > ITopologyRuleContainer.DemoteFromRuleException Method (ArcObjects .NET 10.5 SDK) |
Demotes a topology error from an exception to an error.
[Visual Basic .NET] Public Sub DemoteFromRuleException ( _ ByVal errorException As ITopologyErrorFeature _ )
[C#] public void DemoteFromRuleException ( ITopologyErrorFeature errorException );
[C++]
HRESULT DemoteFromRuleException(
ITopologyErrorFeature* errorException
);
[C++]
Parameters errorException [in]
errorException is a parameter of type ITopologyErrorFeature
The DemoteFromRuleException method will demote an exception feature from an exception to an error. On a topology in an ArcSDE geodatabase, DemoteFromRuleException, must be called from within an edit session and edit operation. Topology Exceptions arise when a topology rule is purposefully violated. Marking purposeful topology errors as exceptions allows other clients of the topology to handle them in an appropriate or specific manner, e.g., in reporting or symbolization.
Note that it is also possible to promote an error or mark the error as an exception with the ITopologyRuleContainer::PromoteToRuleException method.