[About] Version=1.0 Author=Nic Mail=support@hiasm.com [Type] Class=Element Info=Encapsulates operating system–specific objects that wait for exclusive access to shared resources. [Property] @Handle=Obsolete. Gets or sets the native operating system handle. ARG(IntPtr)|20|(empty)|IntPtr @SafeWaitHandle=Sets the native operating system handle. ARG(SafeWaitHandle)|20|(empty)|SafeWaitHandle [Methods] *doClose=When overridden in a derived class, releases all resources held by the current WaitHandle. ARG()|1|0 *doDispose=Releases all resources used by the current instance of the WaitHandle class. ARG()|1|0 *doSignalAndWait=Signals one WaitHandle and waits on another. ARG(WaitHandle toSignal, WaitHandle toWaitOn)|1|0 *doSignalAndWait2=Signals one WaitHandle and waits on another, specifying a time-out interval as a 32-bit signed integer and specifying whether to exit the synchronization domain for the context before entering the wait. ARG(WaitHandle toSignal, WaitHandle toWaitOn, int millisecondsTimeout, bool exitContext)|1|0 *doSignalAndWait3=Signals one WaitHandle and waits on another, specifying the time-out interval as a TimeSpan and specifying whether to exit the synchronization domain for the context before entering the wait. ARG(WaitHandle toSignal, WaitHandle toWaitOn, TimeSpan timeout, bool exitContext)|1|0 *doWaitAll=Waits for all the elements in the specified array to receive a signal. ARG(WaitHandle[] waitHandles)|1|0 *doWaitAll2=Waits for all the elements in the specified array to receive a signal, using an Int32 value to specify the time interval. ARG(WaitHandle[] waitHandles, int millisecondsTimeout)|1|0 *doWaitAll3=Waits for all the elements in the specified array to receive a signal, using a TimeSpan value to specify the time interval. ARG(WaitHandle[] waitHandles, TimeSpan timeout)|1|0 *doWaitAll4=Waits for all the elements in the specified array to receive a signal, using an Int32 value to specify the time interval and specifying whether to exit the synchronization domain before the wait. ARG(WaitHandle[] waitHandles, int millisecondsTimeout, bool exitContext)|1|0 *doWaitAll5=Waits for all the elements in the specified array to receive a signal, using a TimeSpan value to specify the time interval, and specifying whether to exit the synchronization domain before the wait. ARG(WaitHandle[] waitHandles, TimeSpan timeout, bool exitContext)|1|0 *doWaitAny=Waits for any of the elements in the specified array to receive a signal. ARG(WaitHandle[] waitHandles)|1|0 *doWaitAny2=Waits for any of the elements in the specified array to receive a signal, using a 32-bit signed integer to specify the time interval. ARG(WaitHandle[] waitHandles, int millisecondsTimeout)|1|0 *doWaitAny3=Waits for any of the elements in the specified array to receive a signal, using a TimeSpan to specify the time interval. ARG(WaitHandle[] waitHandles, TimeSpan timeout)|1|0 *doWaitAny4=Waits for any of the elements in the specified array to receive a signal, using a 32-bit signed integer to specify the time interval, and specifying whether to exit the synchronization domain before the wait. ARG(WaitHandle[] waitHandles, int millisecondsTimeout, bool exitContext)|1|0 *doWaitAny5=Waits for any of the elements in the specified array to receive a signal, using a TimeSpan to specify the time interval and specifying whether to exit the synchronization domain before the wait. ARG(WaitHandle[] waitHandles, TimeSpan timeout, bool exitContext)|1|0 *doWaitOne2=Blocks the current thread until the current WaitHandle receives a signal, using a 32-bit signed integer to specify the time interval. ARG(int millisecondsTimeout)|1|0 *doWaitOne3=Blocks the current thread until the current instance receives a signal, using a TimeSpan to specify the time interval. ARG(TimeSpan timeout)|1|0 *doWaitOne4=Blocks the current thread until the current WaitHandle receives a signal, using a 32-bit signed integer to specify the time interval and specifying whether to exit the synchronization domain before the wait. ARG(int millisecondsTimeout, bool exitContext)|1|0 *doWaitOne5=Blocks the current thread until the current instance receives a signal, using a TimeSpan to specify the time interval and specifying whether to exit the synchronization domain before the wait. ARG(TimeSpan timeout, bool exitContext)|1|0 *onSignalAndWait=Occurs after invoke the method doSignalAndWait and returns the result. ARG(bool)|2|104 *onWaitAll=Occurs after invoke the method doWaitAll and returns the result. ARG(bool)|2|104 *onWaitAny=Occurs after invoke the method doWaitAny and returns the result. ARG(int)|2|1 onWaitOne=Occurs after invoke the method doWaitOne and returns true if the current instance receives a signal. ARG(bool)|2|104 *Handle=Obsolete. Gets or sets the native operating system handle. ARG(IntPtr)|3|0 *SafeWaitHandle=Returns the native operating system handle. ARG(SafeWaitHandle)|3|0 *WaitOne=Blocks the current thread until the current WaitHandle receives a signal. ARG(bool)|3|104 *WaitTimeout=Indicates that a WaitAny operation timed out before any of the wait handles were signaled. This field is constant. ARG(int)|3|1 *exitContext=true to exit the synchronization domain for the context before the wait (if in a synchronized context), and reacquire it afterward; otherwise, false. ARG(bool)|4|104 *millisecondsTimeout=An integer that represents the interval to wait. If the value is Timeout Infinite , that is, -1, the wait is infinite. ARG(int)|4|1 *timeout=A TimeSpan that represents the interval to wait. If the value is -1, the wait is infinite. ARG(TimeSpan)|4|0 *toSignal=The WaitHandle to signal. ARG(WaitHandle)|4|0 *toWaitOn=The WaitHandle to wait on. ARG(WaitHandle)|4|0 *waitHandles=A WaitHandle array containing the objects for which the current instance will wait. This array cannot contain multiple references to the same object. ARG(WaitHandle[])|4|13