Return Value
true if all operations ran successfully; otherwise false. Any returned errors and error messages can be accessed in ErrorMessages
Exception | Description |
---|---|
System.InvalidOperationException | There are no enqueued operations to run. |
ArcGIS.Core.Data.Exceptions.GeodatabaseException | A geodatabase-related exception has occurred. |
System.InvalidOperationException | This operation cannot be invoked inside Geodatabase.ApplyEdits() or when editing is in progress. |
System.InvalidOperationException | This operation cannot be invoked when editing is in progress. |
ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
knowledgeGraph.ApplySchemaEdits(sb)
where the knowledge graph is the same knowledge graph used initialize the schema builder via its constructor. Calling schemaBuilder.Build()
directly when it has been constructed with a knowledge graph may result in the application UI not refreshing correctly. Additionally, calling knowledgeGraph.ApplySchemaEdits(sb)
when the schema builder was initialized with a geodatabase (not a knowledge graph) will result in an InvalidOperationException.Target Platforms: Windows 11, Windows 10