Reputation: 1353
I'm porting a project to .NET Core and have some logic with the method. Do you know .NET Core supports Abort()
method in Thread class?
Upvotes: 12
Views: 6482
Reputation: 49789
Thread.Abort has been removed in .NET Core.
Upvotes: 9
Reputation: 5366
As far as I have understood so far it is now recommended to use CancellationToken. Please read more about how to use this here:
https://msdn.microsoft.com/en-us/library/dd997364(v=vs.110).aspx
Upvotes: 3