Blocks the current thread until the current System.Threading.ManualResetEventSlim receives a signal, while observing a System.Threading.CancellationToken.
- cancellationToken
- The System.Threading.CancellationToken to observe.
The caller of this method blocks indefinitely until the current instance is set. The caller will return immediately if the event is currently in a set state.