Blocks the current thread until the System.Threading.CountdownEvent is set, using a 32-bit signed integer to measure the timeout, 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.CountdownEvent was set; otherwise, false.