Waits for all the elements in the specified collection to receive a signal, using a xtd::time_span value to measure the time interval.
- Parameters
-
wait_handles | A xtd::threading::wait_handle collection containing the objects for which the current instance will wait. This array cannot contain multiple references to the same object. |
timeout | A xtd::time_span that represents the number of milliseconds to wait, or a xtd::time_span that represents -1 milliseconds, to wait indefinitely. |
- Returns
- true when every element in wait_handles has received a signal; otherwise the method never returns.
- Exceptions
-