|
virtual |
Blocks the current thread until the current instance receives a signal, using a xtd::time_span to measure the time interval.
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. |
xtd::object_closed_exception | the handle is invalid |
xtd::threading::abandoned_mutex_exception | The wait completed because a thread exited without releasing a mutex. |
xtd::argument_exception | milliseconds_timeout is a negative number other than -1, which represents an infinite time-out. |