Parameters
- rulePackagePath
- full path to a rule package
- featureLayer
- FeatureLayer
- overrides
- ArcGIS.Core.CIM.CIMPrimitiveOverride
Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
System.IO.FileNotFoundException | {rulePackagePath} not found or is inaccessible |
System.ArgumentException | Invalid layer geometry type |
System.ArgumentException | Rule package geometry type not compatible with FeatureClass geometry type. |
System.ArgumentException | Procedural symbol cannot be applied to rasterized feature layers. Feature layers that are in the 2D Layers group in the Contents pane are rasterized |
System.ApplicationException | Call to retrieve rule package attributes failed. |
System.NotSupportedException | Cannot use rule packages that create leaf shapes with procedural symbols. |
Target Platforms: Windows 11, Windows 10