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

In This Topic
    ConstructedOnWrongThreadException Class
    In This Topic
    Thrown when a fine-grained object is being created on the wrong Pro thread
    Syntax
    public class ConstructedOnWrongThreadException : System.Exception, System.Runtime.Serialization.ISerializable  
    Public Class ConstructedOnWrongThreadException 
       Inherits System.Exception
       Implements 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, Windows 8.1

    See Also