ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core Namespace / CalledOnWrongThreadException Class
Members Version

CalledOnWrongThreadException Class
Thrown when a method is called on the wrong Pro thread
Syntax
public class CalledOnWrongThreadException : System.Exception, System.Runtime.Serialization.ISerializable  
Remarks
Usually this means a method that must be called on the Pro background thread is called from the UI
Inheritance Hierarchy

System.Object
   System.Exception
      ArcGIS.Core.CalledOnWrongThreadException

Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also