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

ConstructedOnWrongThreadException Class
Thrown when a fine-grained object is being created on the wrong Pro thread
Syntax
public class ConstructedOnWrongThreadException : System.Exception, System.Runtime.Serialization.ISerializable  
Remarks
Usually this means an object that needs to be created on the Pro background thread is, instead, trying to be created from the UI
Inheritance Hierarchy

System.Object
   System.Exception
      ArcGIS.Core.ConstructedOnWrongThreadException

Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also