Blocks the current thread until the current System.Threading.ManualResetEventSlim is set, using a TimeSpan to measure the time interval, while observing a System.Threading.CancellationToken.
- timeout
A TimeSpan that represents the number of milliseconds to wait, or a TimeSpan that represents -1 milliseconds to wait indefinitely.
- cancellationToken
The System.Threading.CancellationToken to observe.
![]()
true if the System.Threading.ManualResetEventSlim was set; otherwise, false.