https://learn.microsoft.com/es-es/dotnet/api/system.threading.threadstateexception.-ctor?view=netframework-4.8.1&viewFallbackFrom=net-10.0
ThreadStateException Constructor (System.Threading) | Microsoft Learn
Initializes a new instance of the ThreadStateException class.
constructorsystemthreadingmicrosoftlearn