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

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, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also