📜 ⬆️ ⬇️

[DotNetBook] Time for entertaining stories: exceptionally exceptional situations


There are a number of exceptional situations that say so ... Somewhat more exceptional than others. And if you try to classify them, then, as was said at the very beginning of the chapter, there are exceptions that come from the .NET application itself, and there are exceptions that come from the unsafe world. They, in turn, can be divided into two subcategories: the exclusive situations of the CLR core (which is unsafe in its essence) and any unsafe code of external libraries.


Let's talk about these special exceptions.


ThreadAbortException


In general, this may not seem obvious, but there are four types of Thread Abort.


Note


The chapter published on Habré is not updated and it is possible that it is already somewhat outdated. So, please ask for a more recent text to the original:



')

Source: https://habr.com/ru/post/419931/


All Articles