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

In This Topic
    CalledOnWrongThreadException Class
    In This Topic
    Thrown when a method is called on the wrong Pro thread
    Syntax
    public class CalledOnWrongThreadException : System.Exception, System.Runtime.Serialization.ISerializable  
    Public Class CalledOnWrongThreadException 
       Inherits System.Exception
       Implements 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