Blocks the current thread until the current System.Threading.ManualResetEventSlim is set, using a 32-bit signed integer to measure the time interval, while observing a System.Threading.CancellationToken.
- millisecondsTimeout
- The number of milliseconds to wait, or Timeout.Infinite(-1) to wait indefinitely.
- cancellationToken
- The System.Threading.CancellationToken to observe.
true if the System.Threading.ManualResetEventSlim was set; otherwise, false.