| Exception | Description |
|---|---|
| ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
{
// get the active investigation view
var iv = KnowledgeGraphInvestigationView.Active;
// clear the selected records
iv.ClearSelectedRecords();
}
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)