T
Thore Berntsen
I have an .NET Compact Framework 2.0 application that calls an .asmx
webservice asynchronously over WiFi. It works fine most of the time,
but if the WiFi signal is very weak I sometimes get an
ThreadAbortException. I guess it is the thread waiting for the
callback that is aborted.
I catch this exception and log it. But the problem with
ThreadAbortException is that it is rethrown. In the full framework I
can stop that by calling Thread.ResetAbort(), but that method is
missing in the .NET CF 2.0. The result of this is that my application
crashes. Is there any way that I can stop the ThreadAbortException?
Thore
webservice asynchronously over WiFi. It works fine most of the time,
but if the WiFi signal is very weak I sometimes get an
ThreadAbortException. I guess it is the thread waiting for the
callback that is aborted.
I catch this exception and log it. But the problem with
ThreadAbortException is that it is rethrown. In the full framework I
can stop that by calling Thread.ResetAbort(), but that method is
missing in the .NET CF 2.0. The result of this is that my application
crashes. Is there any way that I can stop the ThreadAbortException?
Thore