Display: Cloud | List
Most Popular Tags
Results (2 total) All > .net (x) > thread (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
Thread Saftey Considerations (Creating a DataView Object (LINQ to DataSet))
I recommmend that you check http://msdn.microsoft.com/en-us/library/system.data.dataview.aspx for notes on the "AsDataView()" member funcion.WeSam Abdallah
Last modified by WeSam Abdallah on 1/4/2010 4:55:48 PM
Tags:  .net  asdataview  linq  saftey  thread
Page view tracker