Re: Thread.Abort




"Christoph Nahr" <christoph.nahr@xxxxxxxxxxxxx> wrote in message
news:dnm5g1pm224c3tdaalcups74p4hiq33rgv@xxxxxxxxxx
> Or upgrade to .NET Framework 2.0 where this issue has been fixed!
>
> On Tue, 16 Aug 2005 17:27:27 +0200, "Willy Denoyette [MVP]"
> <willy.denoyette@xxxxxxxxxx> wrote:
>
>>Thread.Abort() is a method you should only call to abort the current
>>thread,
>>the only valid reason to call it on another thread is when you intend to
>>unload the application domain anyway.
>>There are numerous things that can go wrong when aborting another thread,
>>Please search the archives, this has been discussed several times before
>>in
>>this and other NG's.
>>
>>Willy.
> --
> http://www.kynosarges.de

True, but I don't believe all issues are fixed, as far as I know
Thread.Abort() will no longer be injected while running exception handling
code blocks, but will be delayed until catch/finally blocks exit, but the
issues remain when executing outside try/catch/finally blocks.

Willy.



.



Relevant Pages

  • Re: Thread.Abort
    ... Or upgrade to .NET Framework 2.0 where this issue has been fixed! ... >Thread.Abort() is a method you should only call to abort the current thread, ... Prev by Date: ...
    (microsoft.public.dotnet.languages.csharp)
  • Corrupted .NET Framework
    ... After installing the IE SP2 upgrade in late August, ... the .NET Framework security patches recommed by the Microsoft Upgrade site. ...
    (microsoft.public.dotnet.general)
  • Active Directory Role-Based Authentication Fails for Users - Local
    ... of OS and .NET framework, the ".IsInRole" method returns "false" even though ... production environemnt). ... Prior to the upgrade, AD returned "true". ... Authentication method: NTLM ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Should upgrade to .NET 2.0 or .NET 3.0?
    ... We are thinking about upgrading it to .NET framework 2.0. ... forcibly project ABC also have decided ... But I feel why not directly upgrade to .NET ... Is it error prone if I use an unmanaged code compiled using .NET 2.0 ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Determine Which Button Pressed
    ... so there are no plans to upgrade for at least 2 years. ... You can also download the free .Net Framework 2.0 redistributable at: ... Juan T. Llibre, asp.net MVP ...
    (microsoft.public.dotnet.framework.aspnet)