开发者

Exception thrown in a lock c#2

开发者 https://www.devze.com 2023-01-15 17:42 出处:网络
I\'ve a strance behaviour with C#2, an exception is thrown will calling a lock(...). I have the following exception :

I've a strance behaviour with C#2, an exception is thrown will calling a lock(...). I have the following exception : System.Threading.ThreadAbortException: Thread was being aborted. at System.Threading.Monitor.Enter(Object obj)...

开发者_如何学运维

Have you seen that kind of exception ? TIA


This exception is being thrown because your thread is being aborted.

Threads can be aborted in one of several situations: another thread calls Thread.Abort, an AppDomain is being unloaded, or an ASP.NET application is being recycled.

0

精彩评论

暂无评论...
验证码 换一张
取 消