Display: Cloud | List
Most Popular Tags
Results (1 total) All > .net (x) > waitone (x)
Calling WaitOne() with exitContext=true throws ArgumentException exception (ManualResetEvent.WaitOne Method (Int32, Boolean) (System.Threading))
The following code always throw an exception: protected ManualResetEvent m_ThreadHandle = new ManualResetEvent(false); m_ThreadHandle.WaitOne(0, true); The exitContext parameter to the WaitOne(int millisecondsTimeout, bool exitContext) method must be false.A fellow programmer documented this very well in his blog entry, Compact Framework WaitHandle.WaitOne Gotcha.
Last modified by -- on 1/8/2010 5:23:14 PM
Page view tracker