Alternative of thread.Abort() in Asp.net Core?
问题 Is there any alternative option for thread.Abort() in asp.net core as it no longer support with .Core. // Exceptions: // T:System.PlatformNotSupportedException: // .NET Core only: This member is not supported. This is throw PlatformNotSupportedException exception. I used thread.Interrupt() but it not work as per expectation. 回答1: Thread.Abort() has been removed, since it could not be reliably ported to all platforms and in general poses a threat to the entire app domain, when used incorrectly