Click or drag to resize

BasicWorkItem Constructor

Overload List
  NameDescription
Protected methodBasicWorkItem
Standard constructor
Protected methodBasicWorkItem(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."
Top
See Also