BasicWorkItem Constructor (Boolean)
Allowing to abort is disabled per default since thread aborting results in
unstable system state, see http://msdn.microsoft.com/en-us/magazine/cc163644.aspx :
[..] "I'll caution you against using Thread.Abort to control the lifetime of a thread,
especially if you have little knowledge about the implementation of the code you're
aborting. An abort inside of a critical region could spell disaster for an entire
AppDomain, and while a polite abort does signficantly reduce the window of disaster
to very tiny slivers, that one time out of 1,000 could lead to a deadlock or resource
leak or worse."
ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 6.3.1
Protected Sub New (
allowAbortUponExceedingTimeLimit As Boolean
allowAbortUponExceedingTimeLimit : bool -> BasicWorkItem
- Type: SystemBoolean
If true, the thread is aborted via
Abort if the MaxBusyTime is exceeded.